set splittedStringArray = aString.split(regExpPattern)
set splittedStringArray = split(LITERAL, regExpPattern)
Semantics
Returns an array of strings. Wherever the pattern matches, the string will be split. The string fragments are stored in array splittedStringArray. The state of the current string is not changed.
Note the following behavior of regular expressions:
If pattern expression regExpPattern contains capturing parentheses, the captured data will also be saved in the destination array, together with the fields themselves (see also the examples below and the ICU User Guide > Regular Expressions > Using split()).
Substitutables
aString
Can be any variable or object attribute having the type String.