Returns the sequence of xs:string
value.
fn:string-to-codepoints
( $arg
as xs:string?
xs:integer*
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.
The expression fn:string-to-codepoints("Thérèse")
returns (84, 104, 233, 114, 232, 115, 101)
.