string.getToken()
Determines whether a token of the list in the delimiters parameter is present in a string. Returns the token found at position index of the string, as a string. If index is greater than the number of tokens in the string, returns an empty string.
string.getToken( index=number, delimiters=string )
Returns: String
Examples
token_test = "yellow,red:,orange,blue:;,lavender,pink:;";
writedump(token_test.GetToken(2,":"));