[ic] Formatting Zip for UK - Change to Upper Case and Add a Space??
Andrew Smith
a_w_smith at ntlworld.com
Wed Nov 5 22:38:45 EST 2003
Hi Folks,
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:-
AN NAA
ANN NAA
AANN NAA
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.
Andy.
www.tvcables.co.uk
More information about the interchange-users
mailing list