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. |