XQuery String Functions
XQuery String Functions
The following table lists the commonly used string functions provided by XQuery.
Name | Description |
---|---|
string-length($string as xs:string) as xs:integer | It returns the length of the string. |
concat($input as xs:anyatomictype?) as xs:string | It returns the concatenated string as output. |
string-join($sequence as xs:string*, $delimiter as xs:string) as xs:string | It returns the combination of items in a sequence separated by a delimiter. |
note
XSLT 2.0, XPath 2.0, and XQuery 1.0, share the same functions library.
A complete list of string functions is available at XSL Functions