XQuery字串函式


下表列出了XQuery提供的常用字串操作函式。

函式 描述
string-length($string as xs:string) as xs:integer 返回字串的長度。
concat($input as xs:anyAtomicType?) as xs:string 返回連線的字串。
string-join($sequence as xs:string*, $delimiter as xs:string) as xs:string 返回由分隔符分隔的序列中的資料項組合。