Re: use of str_split
| From: | Brad Bonkoski | Date: | Thu, 09 Aug 2007 14:30:33 +0000 |
| Subject: | Re: use of str_split | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-43897@lists.php.net to get a copy of this message | ||
This was my initial thought too, but from the manual:
If /delimiter/ is an empty string (""), *explode()* will return *FALSE*. If /delimiter/ contains a value that is not contained in /string/, then *explode()* will return an array containing /string/.
So, this would not satisfy the functionality the OP alluded to.
-B
Bastien Koert wrote:
explode(delimiter, $string); is the correct function Bastien> Date: Thu, 9 Aug 2007 04:53:53 -0700> From: j.asim@yahoo.com> To: php-db@lists.php.net> Subject: [PHP-DB] use of str_split> > Hi> > when i try to use this function> > > str_split()> > it shows me as invalid function> > > what is solution> > i want to split certain length of string into an array> > > bye> > > > > > Asim Jamil - 0092 345 4025907, Pakistan> > ---------------------------------> Luggage? GPS? Comic books? > Check out fitting gifts for grads at Yahoo! Search. _________________________________________________________________ Connect to the next generation of MSN Messenger http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline