contains
FEEL built-in function · String functions
contains(string, match)
Returns true if the string contains match anywhere, false otherwise.
Parameters
| Parameter | Type | Description |
|---|---|---|
| string | string | the string to search in |
| match | string | the substring to look for |
Examples
contains("foobar", "of")
false
Try it →
contains("foobar", "oba")
true
Try it →
Related functions
starts with · ends with · matches
Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).