string.split.regex

Syntax

l := string.split.regex(source,sreg)

Splits the string source into a list of token strings that were separated by matches against the regular expression sreg.

Returns:

l - A list of strings

Arguments:

source - The original string to split sreg - The regular expression to use as a token delimiter