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 返回序列中的项的组合,用分隔符分隔。 |
广告