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

contains($source-string as xs:string?, $substring as xs:string?) xs:boolean
Returns an xs:boolean indicating whether or not the value of $source-string contains (at the beginning, at the end, or anywhere within) at least one sequence of collation units that provides a minimal match to the collation units in the value of $substring, according to the default collation.
$source-stringThe source-string
$substringThe substring

Returns true() if $source-string contains $substring, false() otherwise

contains($source-string as xs:string?, $substring as xs:string?, $collation-uri as xs:string) xs:boolean
Returns an xs:boolean indicating whether or not the value of $source-string contains (at the beginning, at the end, or anywhere within) at least one sequence of collation units that provides a minimal match to the collation units in the value of $substring, according to the collation that is specified in $collation-uri.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
$substringThe substring
$collation-uriThe collation URI

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