Re: splitting string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux