the String class has methods to check for strings and substrings. Strings.contains(), String.matches(), etc....