Re: preg_slipt
| From: | David Precious | Date: | Tue, 29 Nov 2005 15:22:32 +0000 |
| Subject: | Re: preg_slipt | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-226587@lists.php.net to get a copy of this message | ||
> > No, preg_split would be overkill here, you want to take a look at
> > str_split:
> Sorry I forgott to tell that I'm not using PHP 5.x :-)
Ahhh, right - my answer won't be of much use to you then :-)
In that case, David Grant's suggestion of using chunk_split() in
combination with split() is probably your best option then!
Cheers
Dave P