Description
The fn:string-to-codepoints function returns a sequence of xs:integer values representing the Unicode code points.
This description is © Copyright 2007, O'Reilly Media. 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 Type| Name | Type |
$arg |
xs:string? |
| return value |
xs:integer* |
Examples| XQuery Example | Results |
|---|
string-to-codepoints('abc')
|
(97, 98, 99)
|
string-to-codepoints('a')
|
97
|
string-to-codepoints('')
|
()
|
See AlsoHistory |
|