http://php.net/manual/en/function.wordwrap.php


    (-        Nayco,
    //\        [EMAIL PROTECTED]
    v_/_     http://nayco.free.fr


----- Original Message -----
From: Justin French <[EMAIL PROTECTED]>
To: php <[EMAIL PROTECTED]>
Sent: Wednesday, September 12, 2001 3:39 AM
Subject: [PHP] word wrap


> Hi,
>
> I'm having trouble with some email clients not wrapping text.  So, what
> I'd like to do is create a wrap function which enables me to wrap a long
> text string at say 60 characters, by inserting a \n.  Of course I don't
> want to wrap RIGHT ON 60 chars, I want to wrap at the space just before
> the 60 characters, so I don't break words.
>
> Any advice welcome!!
>
>
> Justin French
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to