Could anyone help me with a code snippet that would take a string and add '>
' to it at the start of every new line just as a mail client does when
replying to a mail?
I.e. I would like this:


    How are you?

To look like this:

    > Hello,
    > How are you?

When it's done.

(Actually I would love it if it would also look for existing > at the
beginning of a line, and if there are any, just add the > and not the white
space but perhaps thats too much to ask for ;-)


- Nille

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