split
FEEL built-in function · String functions
split(string, delimiter)
Splits the string at every match of the delimiter pattern and returns the parts as a list of strings.
Parameters
| Parameter | Type | Description |
|---|---|---|
| string | string | the string to split |
| delimiter | string | regular expression separating the parts |
Examples
split("John Doe", "\\s")
[John, Doe]
Try it →
split("a;b;c;;", ";")
[a, b, c, , ]
Try it →
Related functions
string join · substring before · substring after
Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).