contains

FEEL built-in function · String functions

contains(string, match)

Returns true if the string contains match anywhere, false otherwise.

Parameters

ParameterTypeDescription
stringstringthe string to search in
matchstringthe substring to look for

Examples

contains("foobar", "of")
contains("foobar", "oba")

Related functions

starts with · ends with · matches

Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).