Finding linefeeds in Strings

From: Date: Thu, 29 Mar 2001 14:59:37 +0000
Subject: Finding linefeeds in Strings
Groups: php.general 
Request: Send a blank email to php-general+get-46096@lists.php.net to get a copy of this message
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 j.kisters@rosomm-partner.de http://www.rosomm-partner.de

« previous php.general (#46096) next »