XQuery - 字串函式



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

序號 名稱和說明
1

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

返回字串的長度。

2

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

返回連線的字串作為輸出。

3

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

返回序列中的項的組合,用分隔符分隔。

廣告
© . All rights reserved.