Re: Splitting up big strings

From: Date: Wed, 26 Feb 2003 17:02:54 +0000
Subject: Re: Splitting up big strings
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-137268@lists.php.net to get a copy of this message
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. */

« previous php.general (#137268) next »