string-to-codepoints
Creates a sequence of Unicode code points from a string
Description
The fn:string-to-codepoints function returns a sequence of xs:integer values representing the Unicode code points.
Parameters |
Description |
---|---|
arg:string() |
Examples
XPath |
Results |
---|---|
string-to-codepoints(‘abc’) |
(97, 98, 99) |
string-to-codepoints(‘a’) |
97 |
string-to-codepoints(‘’) |
() |