Returns a immutable list of the string segments resulting from splitting the string about the regular expression. If the regular expression cannot be matched to the string the resulting list will have the input string as its single item.
:-) var regex = //he/;
:-) regex.split( "hello there" );
There is 1 result
[, llo t, re]
:-) regex.split( "fibble" );
There is 1 result
[fibble]