If we have a string, say
'1, 2, 3, 4'
'1, 2, 3 GO!'
'ZOMG THE %^*@#$(*^ ZOMBIES ARE COMING!!11!!1!'
then how do I recognize that its has numbers and return true?
I need it because while using,
if(input == input.toUpperCase())
if a number is entered this condition returns true, so need to add an elegant way to stop the numbers from passing this condition.
Edit1: The string is indeed comma separated, I already have googled ways that recognize non comma separated strings as numbers.
Edit2: Added more examples of what I need to pass.