Re: splitting string

From: Date: Tue, 16 Nov 2004 20:46:51 +0000
Subject: Re: splitting string
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-202216@lists.php.net to get a copy of this message
Afan Pasalic wrote:
Chris W. Parker wrote:
Yes. $string = "$string1|$string2|$string3|$string4|$string5"; $string_back = explode("|", $string);
Ok, I'm going to change the code and use pipes :) Thanks to all of you.! -afan please explain... WHY is that better?


« previous php.general (#202216) next »