String Functions

There is a lot of string functions used in XQuery but here we are using the selected one.

A list of commonly used string manipulation functions of XQuery:

IndexNameDescription
1)string-length($string as xs:string) as xs:integer
It returns the length of the string.
2)concat($input as xs:anyatomictype?) as xs:stringIt returns the concatenated string as output.
3)string-join($sequence as xs:string*, $delimiter as xs:string) as xs:stringIt returns the combination of items in a sequence separated by a delimiter.




Latest Courses