Variations in postal codes

المشرف العام

Administrator
طاقم الإدارة
I was wondering, are there many variations that postal codes can take around the world?

For example, in Switzerland, every zip code is a four-digit number, but it can be written as XXXX or CH-XXXX.

I would basically like to have a function that makes a postal code canonical, given the country. For example f(XXXX, Switzerland) == f(CH-XXXX, Switzerland) == CH-XXXX.



أكثر...
 
أعلى