.. _functx_chars: ============ functx:chars ============ Converts a string to a sequence of characters Description ~~~~~~~~~~~ The functx:chars function splits a string into individual characters and returns them as a sequence of strings of length 1 each. .. list-table:: :widths: 40 60 :header-rows: 1 * - **Parameters** - **Description** * - arg:string() - the string to split Examples ~~~~~~~~ .. list-table:: :widths: 50 50 :header-rows: 1 * - **XPath** - **Results** * - functx:chars('abc') - ('a', 'b', 'c') * - functx:chars('a b c') - ('a', ' ', 'b', ' ', 'c') See Also ~~~~~~~~ .. toctree:: :titlesonly: :glob: * :ref:`tokenize`.