I have have a string that I need to split into 3 different variables: City,State, and Zip. Here is a couple examples of the strings I need to parse:
ANCHORAGE AK 99507-6420 JUNEAU AK 99801 NORTH LITTLE ROCK AR 72118-5227 Does anyone have an idea how I could slit this into the appropriate variables, maybe some kind of regular expression? I cant use the space character to split the data because some of the city names have spaces in them. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php