- text
- the string to split
- expression
- the regular expression to match
Documentation for this section has not yet been entered.
Type Reason Java.Lang.NullPointerException if expression or text is null
String.split() returns [''] when the string to be split is empty. This returns []. This does not remove any empty strings from the result. For example split("a,", "," ) returns {"a", ""}.