Australian postcode to state conversion
list of Australian postcodes by the state
![Australian postcode to state conversion](/images/2018/07/australian-428009_1280_hu8f7c6d3999e37afc66c327baefd6717a_490095_640x0_resize_q75_box.jpg)
I recently worked on a project with a super dull address form. I figured out that we need to help poor users fill tedious forms, so I made a little code snippet/function which gets the postcode and returns the state. I took postcode ranges from wikipedia , so blame them if something isn’t working as expected.