SyntaxFix
Write A Post
Hire A Developer
Questions
You have to go through each character in the String and check Character.isDigit(char); or Character.isletter(char);
Character.isDigit(char);
Character.isletter(char);
Alternatively, you can use regex.