starts with

FEEL built-in function · String functions

starts with(string, match)

Returns true if the string begins with match.

Parameters

ParameterTypeDescription
stringstringthe string to test
matchstringthe expected prefix

Examples

starts with("foobar", "fo")

Related functions

ends with · contains

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