.. _functx_left-trim: ================ functx:left-trim ================ Apara os espaços do início Descrição ~~~~~~~~~ A função functx:left-trim remove todos os espaços em branco do início de uma string. Espaço em branco é o que o XML define: espaço, tabulação, retorno de carro e nova linha. Se $arg for a sequência vazia, devolve uma string vazia. .. list-table:: :widths: 40 60 :header-rows: 1 * - **Parâmetros** - **Descrição** * - arg:string() - a string a aparar Exemplos ~~~~~~~~ .. list-table:: :widths: 50 50 :header-rows: 1 * - **XPath** - **Resultado** * - functx:left-trim(' xyz') - xyz * - functx:left-trim(' xyz x') - xyz x * - functx:left-trim('xyz') - xyz Veja também ~~~~~~~~~~~ .. toctree:: :titlesonly: :glob: * :ref:`functx_trim`. * :ref:`functx_right-trim`. * :ref:`normalize-space`.