.. _functx_lines: ============ functx:lines ============ Split a string into separate lines Description ~~~~~~~~~~~ The functx:lines function splits a string into individual lines, using the carriage return and newline characters to indicate the end of a line. .. 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:lines('a value') - a value * - functx:lines($in-xml) - ('a', 'value', 'on', 'many', 'lines') See Also ~~~~~~~~ .. toctree:: :titlesonly: :glob: * :ref:`functx_line-count`. * :ref:`functx_max-line-length`.