substring after
FEEL built-in function · FEEL string functions
substring after(string, match)
Returns everything after the first occurrence of match; the empty string if match does not occur.
Parameters
| Parameter | Type | Description |
|---|---|---|
| string | string | the source string |
| match | string | the delimiter to search for |
Examples
substring after("foobar", "ob")
ar
Try it ↑
substring after("", "a")
(empty string)
Try it ↑
Edge cases and null handling
substring after("a-b-c", "-")
b-c
Try it ↑
Everything after the first occurrence, including later delimiters.
substring after("foobar", "")
foobar
Try it ↑
Part of FEEL string functions: the rules all of them share, string concatenation, regex pitfalls and every function side by side.
Related functions
Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).