I know that both English and Dutch Zip codes are alpha-numeric and 6
characters long (minus spaces).
-----Original Message-----
From: Rich Tretola [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 4:22 PM
To: CF-Talk
Subject: RE: Remove spaces
Can't do that because the US zips are 5 digits and international are 6.
Rich
-----Original Message-----
From: Billy Cravens [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 5:11 PM
To: CF-Talk
Subject: RE: Remove spaces
You could do a Replace(zipcode," ","","all") but I would suggest doing
client-side as well as server-side validation, and make it more robust
than just checking for spaces. Check for length, all numbers, etc.
---
Billy Cravens
HR Systems, EDS
[EMAIL PROTECTED]
-----Original Message-----
From: Rich Tretola [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 3:59 PM
To: CF-Talk
Subject: Remove spaces
What function do I use to remove spaces in the middle of a string? I
have a zipcode field where international users are leaving spaces in the
zipcode which is causing errors in the shipping calculator. Thanks, Rich
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists