I have this text, in a string:
Original Message Message was quoted Other text Message Other text Message Message was quoted
I would like to add “>” in front of each line in the text:
>Original Message
>Message was quoted
>Other text Message
>Other text Message
>Message was quoted
How would I go about doing this in php?
Assuming your data is in
$string:should do it.