DRAFTThis page is not published. Only visible in development mode.
text module

text::ends_with

Check if a string ends with a specified suffix.

Syntax

RQL

Parameters

NameTypeDescription
valueUtf8The string to check.
suffixUtf8The suffix to check for.

Return Value

Returns a Boolean indicating whether the string ends with the specified suffix.

Examples

$ Check if string ends with suffix
$ ctrl+enter to run

Related Functions