On Wednesday 03 July 2002 19:52, Daevid Vincent wrote: > Anyone have a function that will take an alphabetical list of names (in > an array already) and split it into two 'chunks' (arrays) A-M and N-Z?
Psuedo-code: loop through array array_shift() if element is A-M add to the A-M array, else add to N-Z array -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* I wish I was on a Cincinnati street corner holding a clean dog! */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php