On Thursday 27 February 2003 00:54, {R}ichard Ashton wrote: > I have the body ov a Usnet article, all of it, in $body. I want to > split it into lines. > > I have tried > > $lines = explode( X, $body); > > where I have used > > X = "0x0A" > X = '0x0A' > X = "0x0D" > X = '0x0A' > X = "\r"
Try "\n". -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Ignorance must certainly be bliss or there wouldn't be so many people so resolutely pursuing it. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php