Thanks Al, you have saved me alot of time and head scratching. ----Original Message-----
From: Everett, Al [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 08, 2002 3:21 PM To: CF-Talk Subject: RE: Partially Masking a Variable? We show the last four digits and replace the rest with Xs. <cfscript> rawcardnumber="4111111111111111"; leftMask=RepeatString("X",Len(rawcardnumber)-4); rightMask=Right(rawcardnumber,4); cardnumber=Variables.leftMask & Variables.rightMask; </cfscript> > -----Original Message----- > From: Paul [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 08, 2002 3:34 PM > To: CF-Talk > Subject: Partially Masking a Variable? > > > I am outputting a credit card #, but for security puroposes I > would like to be able to mask/hide the last 4 or so digits of > the number. > Any ideas as to how to go about this? > > Thanks > -Paul > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.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

