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:
|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:string||It returns the concatenated string as output.|
|3)||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.|