Description
The fn:string-to-codepoints function returns a sequence of xs:integer values representing the Unicode code points.
This description is © Copyright 2007, Priscilla Walmsley. It is excerpted from the book XQuery by Priscilla Walmsley, O'Reilly, 2007. For a complete explanation of this function, please refer to Appendix A of the book. Arguments and Return TypeName | Type |
$arg |
xs:string? |
return value |
xs:integer* |
ExamplesXPath Example | Results |
---|
string-to-codepoints('abc') |
(97, 98, 99) |
string-to-codepoints('a') |
97 |
string-to-codepoints('') |
() |
See AlsoHistory |
Recommended Reading:
|