XQuery - String Functions



The following table lists the commonly used string manipulation functions provided by XQuery.

Sr.No Name & Description
1

string-length($string as xs:string) as xs:integer

Returns the length of the string.

2

concat($input as xs:anyAtomicType?) as xs:string

Returns the concatenated string as output.

3

string-join($sequence as xs:string*, $delimiter as xs:string) as xs:string

Returns the combination of items in a sequence separated by a delimiter.

Advertisements