maxkramer / ObjectiveLuhn

Luhn Credit Card Validation Algorithm

Home Page:http://maxkramer.github.io/ObjectiveLuhn/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Format input string

maxkramer opened this issue · comments

Input string needs to be stripped of spaces and some form of validation should be taken. As characters are used, the ascii value of '-' will be added as an integer to the odd/even number and could affect results. '-' should also be stripped.