[thelist] hide some numbers and show others script.
Jason Handby
jasonh at pavilion.co.uk
Fri Jun 20 07:03:34 CDT 2003
> Morning folks!
>
> I'm looking for a script that will hide the first part of a
> number and just display the last 4 digits.
In VBScript you could do
masked_n = "************" & Right(original_n, 4)
(assuming the original number was 16 digits)
To cover all card number lengths (> 4 digits), do
masked_n = String(Len(original_n) - 4, "*") & Right(original_n, 4)
Jason
More information about the thelist
mailing list