Home >>XQuery Tutorial >XQuery String Functions

XQuery String Functions

XQuery String Functions

There are a lot of string functions used in XQuery but we use the chosen one here.

A list of widely used XQuery string manipulation functions:

Sr No Name Description
1. string-length($string as xs:string) as xs:integer It is used to returns the length of the string.
2. concat($input as xs:anyatomictype?) as xs:string It is used to returns the concatenated string as output.
3. string-join($sequence as xs:string*, $delimiter as xs:string) as xs:string It is used to returns the combination of items in a sequence separated by a delimiter.