I've got different phone number formats due to an csv import. I'm trying to
remove
phone number formating from the database and just have the numbers. As I parse
through my phone numbers from a query, this code is throwing errors. I'm
trying to
get rid of ')', '(', '.' and '-'
<cfset phone = rereplace(phone, "(", "", "all") />
<cfset phone = rereplace(phone, ")", "", "all") />
<cfset phone = rereplace(phone, ".", "", "all") />
<cfset phone = rereplace(phone, "-", "", "all") />
Thanks
D
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303958
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4