Open MikeDevice opened 7 years ago
+1. This is needed, if we need to validate the expiry-date is between 0 and 12, and return empty otherwise. Without this, I'm not sure how you can achieve this feature, as this function gives single char at a time.
How about passing input
value
tovalidate
method informatCharacters
. I think it will be convenient. ExampleThis example does not make sense, but this functional can be useful.