string.token

Syntax

a = string.token(s,i)

Get the item at a given position. Delimiters are the same as for general commands (i.e., spaces, commas, parentheses, tabs, and equal signs). If item i is missing, then zero is returned.

Returns:a - integer, float, or string, depending on the type of the item at position i
Arguments:i - integer position of the item in the string