Why not simply and just do right(cc,4).   If you want to add astrix, you can
use repeat() to add leading astrix.

Andy

-----Original Message-----
From: James Watkins

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#




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192110
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