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