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

text::starts_with

Check if a string starts with a specified prefix.

Syntax

RQL

Parameters

NameTypeDescription
valueUtf8The string to check.
prefixUtf8The prefix to check for.

Return Value

Returns a Boolean indicating whether the string starts with the specified prefix.

Examples

$ Check if string starts with prefix
$ ctrl+enter to run

Related Functions