<?xml version="1.0" encoding="UTF-8"?>
<!-- Reviewed: no -->
<sect2 id="zend.filter.set.stripnewlines">
    <title>StripNewLines</title>

    <para>
        This filter modifies a given string and removes all new line characters within that string.
    </para>

     <sect3 id="zend.filter.set.strinpnewlines.options">
        <title>Supported options for Zend_Filter_StripNewLines</title>

        <para>
            There are no additional options for <classname>Zend_Filter_StripNewLines</classname>.
        </para>
    </sect3>

    <sect3 id="zend.filter.set.stripnewlines.basic">
        <title>Basic usage</title>

        <para>
            A basic example of usage is below:
        </para>

        <programlisting language="php"><![CDATA[
$filter = new Zend_Filter_StripNewLines();

print $filter->filter("This is (my)\n\rcontent: ');
]]></programlisting>

        <para>
            The above example returns 'This is (my) content:'. Notice that all newline characters
            have been removed.
        </para>
    </sect3>
</sect2>
<!--
vim:se ts=4 sw=4 et:
-->
