Syntax | 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 | ||||||||||
Substitutables | aString | Can be any variable or object attribute having the type String. | |||||||||
regExpPattern | Regular expression (see Regular Expressions for a list of valid regular expressions). An introduction into regular expressions can be found at http://www.regular-expressions.info/. | ||||||||||
LITERAL | String literal. | ||||||||||
Examples | set splittedStringArray = stringSet.s1.split("\S+"); | ||||||||||
Assume we have a string containing a list of customers:
Assuming that the split character is either the "
|
Overview
Content Tools