regexp_split(string, pattern)

Returns a table containing each value found by breaking up a string into each part of the string that does not match the regular expression.

Examples

words = regexp_split( "attack at dawn", "[\t\n ]+")