Re: splitting string

From: Date: Tue, 16 Nov 2004 19:34:26 +0000
Subject: Re: splitting string
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-202205@lists.php.net to get a copy of this message
That was the trick? At least - I was close :) Thanks! -afan Klaus Reimer wrote:
Afan Pasalic wrote:
But, I can't figure out how to split them back? $string_back = explode('\n', $string);
That one is the right one. But you must use double quotes, not single quotes. Escaped characters (except \') in single quoted strings are not processed.


« previous php.general (#202205) next »