Subject: | Parsed addresses fail to trim whitespace |
Parsed addresses fail to trim whitespace.
If I use parse_informal_address() to parse both "5800 Santa Rosa Rd, Ste
143" and ""5800 Santa Rosa Rd Ste 143", they will return different
values in the street field (strings that do not compare equal).
Trimming the returned string will solve this issue.
Similar examples that fail to match:
"3865 General Degaulle Dr, Ste B"
"3865 General Degaulle Dr Ste A",
"45 Quaker Ave, Ste 105",
"45 Quaker Ave Ste 105"
Version: Geo-StreetAddress-US-1.02
Perl v5.10.1
OS: Windows 7, but running CYGWIN_NT-6.1