Works for me...

Keep in mind that not all OSes use \n as linefeed, so the data you have may
not be what you think it is...

--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Jens Kisters <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Thursday, March 29, 2001 9:57 AM
Subject: [PHP] Finding linefeeds in Strings


String functions like explode, strpos or str_replace seem to fail when
asked to work with "\n".
What can i do to tokenize or explode a string by linefeeds?

i replaced "\n" by another expression and it seems to work, but i'm
curious if there's a mor elegant solution...


cu
Jens

--
Grüße aus dem schönen Kleve
Jens Kisters

rosomm et partner
Agentur für neue Medien GmbH
Dienstleistungszentrum am
Weißen Tor - Eingang B
Gocher Landstrasse 2
47551 Kleve / Bedburg-Hau

Telefon: 02821 - 97856-20
Telefax: 02821 - 97856-77
[EMAIL PROTECTED]
http://www.rosomm-partner.de



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to