Jump to content

Minor Enhancement Request


thorin

Recommended Posts

Hey Guys,

After reading this thread:

http://forums.Groundspeak.com/GC/index.php...topic=70506&hl=

Specifically graciious' post of Jun 14 2004, 07:00 PM

 

I was wondering if you could add some simple parsing to the search by zip/postal code.

 

ie: Check string length, if 6 and no spaces check whether the string is entirely numeric (zip is 6 char numeric right?). If not insert a space between chars 3 and 4 and continue the search with the new string.

 

Thorin

Link to comment
So what's everyone think? Doable?

Because the site works for US, Canada, UK and Australian postal codes (the original 6 char request was in respect of the Canadian standard format à la H0H 1H0) these rules are pretty tricky to ascertain I would think. I know that the UK postal codes do not necessarily have a consistent number of characters or layout as regards spacing - e.g. RH7 4HG and PL14 4NF are both valid formats for UK codes.

 

That said a search algorithm that works by removing all non alphanumeric characters a user types and compares against a database with all such chars also removed also should be pretty easy to implement.

 

However, I bet it's a long way down on the priority list...

Link to comment
Guest
This topic is now closed to further replies.
×
×
  • Create New...