Quoting the helpfile:
Quote:
You can also specify a range of tokens (...) You can specify a negative value for N.
e.g.
$gettok(seven six five four three two one,-5--3,32)
returns: "five four three"

$gettok(text,N[-N2],C)
$gettok(text,number or range of token(s),token-delimiter)
text is: seven six five four three two one,
the range is: -5 to -3 (5th-last to 3rd-last token (negative N),
tokens are separated by: space (ascii value 32)


Last edited by Horstl; 20/11/07 10:56 PM.