the user only can input text like this: 1-0 (return true) 5-10 (return true) (max 2 digit)
but: 100-4 (return false) abc 2-4 (return false) or any string don't like 2digitNum-2digitNum
How can I do this? (plz write function)
Aucun commentaire:
Enregistrer un commentaire