Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ArgumentTypeDescription
stringStringString to be split
separatorRegular ExpressionRegular expression representing the breakpoints in string where the splits should occur

...

To return an empty string, specify an empty or null-valued argument.

Note

The separator is expressed as a regular expression. This means that you can use any pattern that can be expressed as a regular expression as a separator. But it also means that you must escape any special characters of regular expressions if you are using these as plain text (e.g. you must use "\\|" to use | as a separator). See examples below.


Examples

split("",",")  or  split(_NULL,",")

returns

[ ]

split("one,two,three",",")

...