converting to upper and lower on strings java code example
Example 1: java string to lower case
String s1 = "JAVATPOINT HELLO stRIng";
String s1lower = s1.toLowerCase(); // s1lower = "javatpoint hello string"
Example 2: java lower case to upper case
toUpperCase()