RE: [PHP] explode separate lines
| From: | Vail, Warren | Date: | Wed, 04 Feb 2004 16:59:35 +0000 |
| Subject: | RE: [PHP] explode separate lines | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-176816@lists.php.net to get a copy of this message | ||
$result = explode("\n", $orignalvalue);
Beware, there are several caveats with "line feeds". Depending on where the
data originated, it could be "\r\n" or "\r".
Warren Vail
-----Original Message-----
From: Diana Castillo [mailto:diana@interhotel.com]
Sent: Wednesday, February 04, 2004 8:50 AM
To: php-general@lists.php.net
Subject: [PHP] explode separate lines
does anyone know how to do an explode where the separator is a linefeed?
--
Diana Castillo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php