format Security Code
Format a security code based on the card brand rules
Return
String with the correct format for the security code
Parameters
code
that represents the security code to be formatted
brand
against which to format the security code If brand is null, formatter will use the default Brand, which has a security code of only digits with minimum length of 3 and maximum of 4.