Campo · Replace Credit Card Symbols
Campo · Replace Credit Card Symbols · helpers.replaceCreditCardSymbols. Metodo di generazione · Esempio
helpers.replaceCreditCardSymbols
Impostazioni
Genera dati per vedere i risultati.
Parametri & Esempio
Replaces the symbols and patterns in a credit card schema including Luhn checksum.
helpers.replaceCreditCardSymbols(string?: string, symbol?: string)- string
- The credit card format pattern. Defaults to '6453-####-####-####-###L'.
- symbol
- The symbol to replace with a digit. Defaults to '#'.
Esempio
"0000-6160-6438-1177"Usa dati sintetici nell’ambiente di test.