.. _functx_reverse-string: ===================== functx:reverse-string ===================== Inverte a ordem dos caracteres Descrição ~~~~~~~~~ A função functx:reverse-string inverte a ordem dos caracteres de uma string. Devolve uma string vazia se o argumento for a sequência vazia. .. list-table:: :widths: 40 60 :header-rows: 1 * - **Parâmetros** - **Descrição** * - arg:string() - a string a inverter Exemplos ~~~~~~~~ .. list-table:: :widths: 50 50 :header-rows: 1 * - **XPath** - **Resultado** * - functx:reverse-string('abc') - cba * - functx:reverse-string('a') - a Veja também ~~~~~~~~~~~ .. toctree:: :titlesonly: :glob: * :ref:`reverse`.