Re: [PHP] Splitting up big strings

2003-03-04 Thread Chris Hayes
At 19:17 26-2-03, you wrote: On Thu, 27 Feb 2003 01:02:54 +0800, Jason Wong wrote: >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); >> >> w

Re: [PHP] Splitting up big strings

2003-02-26 Thread {R}ichard Ashton
On Thu, 27 Feb 2003 01:02:54 +0800, Jason Wong wrote: >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 = "0

Re: [PHP] Splitting up big strings

2003-02-26 Thread Jason Wong
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".