.. _string-to-codepoints: ==================== string-to-codepoints ==================== Creates a sequence of Unicode code points from a string Description ~~~~~~~~~~~ The fn:string-to-codepoints function returns a sequence of xs:integer values representing the Unicode code points. .. list-table:: :widths: 40 60 :header-rows: 1 * - **Parameters** - **Description** * - arg:string() - Examples ~~~~~~~~ .. list-table:: :widths: 50 50 :header-rows: 1 * - **XPath** - **Results** * - string-to-codepoints('abc') - (97, 98, 99) * - string-to-codepoints('a') - 97 * - string-to-codepoints('') - () See Also ~~~~~~~~ .. toctree:: :titlesonly: :glob: * :ref:`codepoints-to-string`.