Token-func
Get the Nth token from a string using specified delimiter.
string Token(string str$, int iToken [, int iDelimiter =0])$
str
iToken
iDelimiter
Note: some symbol chars might not be directly used by iDelimiter but their ASCII values always apply.
returns Nth token in the string.
str1$="This is my string"; str2$=Token(str1$,3)$; str2$=;//should be "my"
str1$="This\is\my\string"; str2$=Token(str1$, 2, "\")$; str2$=;//should be "is"
str1$="This#is#my#string"; int ascval = code("#"); //ascval is 35 str2$=Token(str1$, 4, $(ascval))$; str2$=;//should be "string"
Mid