Replaces all but the last num of characters with the specified mask character
mask('1234567890'); // '******7890'
mask('1234567890', 3); // '*******890'
mask('1234567890', -4, '$'); // '$$$$567890'
Optional
Generated using TypeDoc
Replaces all but the last num of characters with the specified mask character
Example
Example
Example