parse-address-string
parse-address-string copied to clipboard
City & State are incorrect when city name match a US state name
When parsing address that contains only city & state and the city name matches a state name, then parsing would probably be incorrect.
Parsing address like New York, NY
results with:
{
street_address1: null,
city: 'NY',
state: 'New York',
postal_code: null,
country: null
}