Cliff notes

1. Given String like 'St. Louis, MO adsfadf'

Trim any space after first comma, check first and second position for
alphabetical, check if 3rd position exists, check third position for space"


2. Given String like 'St. Louis, Missouri adsfadf'

Get string after comma, remove space after comma. Parse out first part of
string (using spaces as delimiter), check if match. If not parse out first
and second part of string (for cases like 'north carolina') check if match.

ex  'St. Louis, Missouri adsfasf' yields 'Missouri' and would yield a match.

ex. 'St. Louis, West Virginia' yields 'west' and does not find match. 2nd
attempted yields 'West Virginia' and does find match.

* i just need help with parsing the strings

3. Replace instances of abbreviations like "st." with "saint".

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

Reply via email to