FEEL

ends with

FEEL built-in function · FEEL string functions

ends with(string, match)

Returns true if the string ends with match.

Parameters

ParameterTypeDescription
stringstringthe string to test
matchstringthe expected suffix

Examples

ends with("foobar", "r")

Edge cases and null handling

ends with("file.PDF", ".pdf")

Case-sensitive, so check file extensions with a lower-cased name.

ends with(lower case("file.PDF"), ".pdf")

Related functions

starts with · contains

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