The string-to-codepoints() function returns a sequence of integers representing the Unicode codepoints of the characters in a string. For example, «string-to-codepoints("Kay") » returns the sequence (75, 97, 121) .
Argument | Data Type | Meaning |
---|---|---|
input | xs:string? | The input string |
Result | xs:integer* | The codepoints of the characters in the input string |