Thanks all!
On Wed, 29 Sep 2004 14:55:58 +0100, Chris Dowell <[EMAIL PROTECTED]> wrote:
> In PHP4
>
> $array = explode(';', chunk_split("A12B05C45D34", 3, ';'));
>
> In PHP4
>
> $array = str_split("A12B05C45D34", 3);
>
> RTFM
>
> Cheers
>
> Chris
>
>
>
> blackwater dev wrote:
>
> > How can I take a string and create an array?
> >
> > Example,
> > A12B05C45D34
> >
> > I need to split this into chunks of three A12,B05,C45..etc?
> >
> > Thanks!
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php