SQL Obfuscate Credit Card Number


/ Published in: SQL
Save to your folder(s)

All but last 4 digits turned to *


Copy this code and paste it in your HTML
  1. CreditCardNumber = SUBSTRING('*****************************************', 0, LEN(CreditCardNumber) - 3) + SUBSTRING(CreditCardNumber, LEN(CreditCardNumber) - 3, 4)

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.