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