CFML select only 3 int from form.zipcode

Viewed 65

I know this is probably easy but how to would I select only the first 3 digits from a form field called zipcode when I do #form.zipcode#

I would prefer this to be in cfml if possible.

Example 03954 becomes 039

This is for doing shipping calculations.

Thanks in advance.

1 Answers
Related