.. _functx_chars: ============ functx:chars ============ Converte uma string numa sequência de caracteres Descrição ~~~~~~~~~ A função functx:chars divide uma string em caracteres e devolve uma sequência de strings de um caractere cada. .. list-table:: :widths: 40 60 :header-rows: 1 * - **Parâmetros** - **Descrição** * - arg:string() - a string a dividir Exemplos ~~~~~~~~ .. list-table:: :widths: 50 50 :header-rows: 1 * - **XPath** - **Resultado** * - functx:chars('abc') - ('a', 'b', 'c') * - functx:chars('a b c') - ('a', ' ', 'b', ' ', 'c') Veja também ~~~~~~~~~~~ .. toctree:: :titlesonly: :glob: * :ref:`tokenize`.