#rereplace(left(creditcard.cardnumber,len(creditcard.cardnumber)-4),"[0-9]","*","ALL")##right(creditcard.cardnumber,4)#

Maybe more trouble then it's worth, and no guarantees that I have all the ('s 
and )'s needed.

--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

...-----Original Message-----
...From: James Watkins [mailto:[EMAIL PROTECTED]
...Sent: Friday, January 28, 2005 9:16 AM
...To: CF-Talk
...Subject: Hiding Credit Card Numbers
...
...When we receive a credit card payment I send an email (using Cfmail)
...thanking them for the payment and explaining that the charges have been
...applied to #nameofcard# and #cardnumber#  what I would like to do is
...only display last 4 numbers of credit card and fill first numbers with
...asterisk as in ************6514
...
...So how would I modify following to do that:
...
...Card Number: #creditcard.cardnumber#
...
...Jim Watkins
...VP Technology & Institutional Services
[EMAIL PROTECTED]
...http://www.northgatech.edu
...
...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192111
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to