obscuredigits(
obscuredigits(
CARDNUMBER
,
CLEARDIGIT
)

The obscuredigits( function obscures digits in a number (usually a credit card number) with Xs.

Parameters

This function has two parameters:

cardnumber – the number.

cleardigit – the number of digits on the end that will not be obscured.

Description

This routine obscures digits in a number (usually a credit card number) with Xs. The first parameter is the number. The second parameter is the number of characters on the end that will NOT be obscured.

    obscuredigits("1234-5678-9876-5432",4) ☞ XXXX-XXXX-XXXX-5432
    obscuredigits("1234-5678-9876-5432",7) ☞ XXXX-XXXX-XX76-5432

History

Version | Status | Notes
10.0 | No Change | Carried over from Panorama 6.0