starts-with
Returns true if the string supplied in the string argument starts with the string supplied in the start argument.
Signature
starts-with(string:string, start:string) -> Boolean |
Parameters
Name | Type | Description |
---|---|---|
string | string | The input string. |
start | string | The string value to check for. |
Examples
The following expression returns true:
starts-with('cat', 'c') |
The following expression returns false:
starts-with('cat', 'b') |