ends-with
Returns true if string ends with substr; false otherwise. The returned value is of type xs:boolean.
This variant of the function uses the default collation, which is Unicode. Another variant of this function exists where you can supply the collation as argument.

Languages
XQuery, XSLT 2.0, XSLT 3.0.
Parameters
Name | Type | Description |
---|---|---|
string | xs:string | The input string (that is, the "haystack"). |
substr | xs:string | The substring (that is, the "needle"). |