Compares and checkings
String newStr = str1.equals(str2);
String newStr = str1.equalsIgnoreCase()
newStr = str1.IsEmpty();
newStr = str1.endsWith();
newStr = str1.contains("value");
convertion and replace
newStr = str1.toUpperCase()
newStr = str1.toLowerCase()
newStr = str1.toCharArray();
newStr = str1.trim()
newStr = str1.replace(oldVal, newVal)
Top comments (0)