On Friday 30 July 2004 15:44, Brent Clements wrote:
> In PHP 5 there is a awesome function called str_split, is there an
> equivalent in PHP 4.x?
>
> I need to do the following:
>
> Split a 60 character string into 3 20 character array chunks.
>
> using str_split I could easily do it, but how do I do it in PHP 4.x?

  substr()

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Superstition, idolatry, and hypocrisy have ample wages, but truth goes
a-begging.
                -- Martin Luther
*/

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

Reply via email to