You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

ends_with()

Usage

ends_with(string, suffix)

Description
Predicate function - returns true if the given string ends with the given suffix.

Example

${ends_with('Hello World!', 'World!')}
${ends_with('Hello World!', 'Mundo!')}

results in

true
false

Search results for "ends_with()"

ends_with()

Predicate function - returns true if the given string ends with the given suffix.

ends_with(string, suffix)