string.split

Syntax

l := string.split(source<,sep>)

Splits the string into sub-strings delimited by the contents of sep, and returns those strings as a list.

By default, sep will match against the same characters as the command processor. This includes parenthesis, equals, space, tab, and commas.

Returns:

l - The list of sub-strings.

Arguments:

source - The original string to tokenize sep - the string to use as a separator, or the regular expression [\s\t(),=] by default.