Rewrote postcode string to use replace() rather than right() for pre postgresql 9.1 compatability