The ends-with() function tests whether one string ends with another string. For example, the expression «ends-with('17cm', 'cm') » returns true .
Argument | Data Type | Meaning |
---|---|---|
input | xs:string? | The containing string |
test | xs:string? | The test string |
collation (optional) | xs:string | A collation URI |
Result | xs:string? | true if the input string ends with the test string, otherwise false |