format Card Number
Format a card number based on the rules of the brands selected
Return
String with the correct format for the card number
Parameters
card Number
to be formatted
Format a card number based on the rules of the brands selected
String with the correct format for the card number
to be formatted