fn:string-to-codepoints
Returns the sequence of codepoints that constitute an
xs:string value.
Signature
fn:string-to-codepoints($arg as xs:string?) as xs:integer*Properties
This function is deterministic, context-independent, and focus-independent.
Rules
The function returns a sequence of integers, each integer being the Unicode codepoint of the corresponding character in $arg.
If $arg is a zero-length string or the empty sequence, the function returns
the empty sequence.
Examples
The expression fn:string-to-codepoints("Thérèse") returns (84, 104, 233, 114, 232, 115, 101).