A RESTful browser for eXist Java-Based Function Modules


http://www.w3.org/2005/xpath-functions
A module with the XQuery/XPath Core Library Functions

ends-with($source-string as xs:string?, $suffix as xs:string?) xs:boolean
Returns true if the string value of $suffix is a suffix of the string value of $source-string, false otherwise. If either $source-string or $suffix is the empty sequence, the empty sequence is returned.
$source-stringThe source-string
$suffixThe suffix

Returns true() if $suffix is suffix of $source-string, false() otherwise

ends-with($source-string as xs:string?, $suffix as xs:string?, $collation-uri as xs:string) xs:boolean?
Returns true if the string value of $suffix is a suffix of the string value of $source-string using collation $collation-uri, false otherwise. If either $source-string or $suffix is the empty sequence, the empty sequence is returned. The third argument $collation-uri is relative so you only need to specify the last part of a valid full collation-uri, e.g. '?lang=sv-SE', 'lang=sv-SE;strength=primary;decomposition=standard' or 'swedish'.
$source-stringThe source-string
$suffixThe suffix
$collation-uriThe collation URI

Returns true() if $suffix is suffix of $source-string, false() otherwise
Return to list of all modules