note 13547 added to function.split.php
| From: | peinado at nevasport dot com | Date: | Thu, 21 Jun 2001 10:27:36 +0000 |
| Subject: | note 13547 added to function.split.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14517@lists.php.net to get a copy of this message | ||
For space split you can also do this:
$srt="This is a test";
$space=" ";
$arr=split($pat,$srt);
echo ("$arr[0]; $arr[1]; $arr[....");
This is quite simple, isn´t it?
Pepe
http://www.php.net/manual/en/function.split.php