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