SyntaxFix
Write A Post
Hire A Developer
Questions
Java:
String s= "abcdef"; if(s.matches("[a-zA-Z]+")){ System.out.println("string only contains letters"); }