text module

text::contains

Check if a string contains a specified substring.

Syntax

RQL

Parameters

NameTypeDescription
valueUtf8The string to search within.
searchUtf8The substring to search for.

Return Value

Returns a Boolean indicating whether the string contains the specified substring.

Examples

$ Check if string contains substring
$ ctrl+enter to run

Related Functions