Splitting up big strings
| From: | {R}ichard Ashton | Date: | Wed, 26 Feb 2003 16:54:53 +0000 |
| Subject: | Splitting up big strings | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-137265@lists.php.net to get a copy of this message | ||
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"