ends-with
Returns true if string ends with substr; false otherwise. The returned value is of type xs:boolean.
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"). |
collation | xs:string | Specifies the collation to use for string comparison. This input may originate from the output of the default-collation function or it may be a collation such as http://www.w3.org/2005/xpath-functions/collation/html-ascii-case-insensitive. |