[ic] Formatting Zip for UK - Change to Upper Case and Add a Space??
a_w_smith at ntlworld.com
Wed Nov 5 22:38:45 EST 2003
I would like to format the zip field to display correctly for UK
postcodes on the order_view.html page.
UK postcodes can be of the following formats:-
Where A=Alpha and N=Numeric.
At the moment all my zip/postcodes appear in lower case letters with no
space, even if a space is entered at checkout.
Is there some piece of script I could use to:-
1) Convert all Alpha to uppercase
2) Insert a space at the point 3 characters before the end.
Could this be done in Perl?
Thanks in anticipation.
More information about the interchange-users