Rewrote postcode string to use replace() rather than right() for pre pos...

...tgresql 9.1 compatability