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?

So, let's say I have:

        Abby Road
        BobbyCraft
        Darren's doodads
        Farenheit 456
        generic name
        MyCom.com
        Ninety Nine
        NoCo
        O U 1
        O'reilly Publishing
        Oracle
        PSI
        Test Company

I want to end up with one array/chunk that has (A-M):

        Abby Road
        BobbyCraft
        Darren's doodads
        Farenheit 456
        generic name
        MyCom.com

And the other that contains (N-Z):

        Ninety Nine
        NoCo
        O U 1
        O'reilly Publishing
        Oracle
        PSI
        Test Company



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

Reply via email to