toLowerCase()StringMethodWeb & Application
String str1 = "CCCP";
String str2 = "Rabbit";
str1 = str1.toLowerCase();
str2 = str2.toLowerCase();
println(str1 + ":" + str2); // Prints cccp:rabbit
Converts all of the characters in the string to lowercase. For example, "ABC" will convert to "abc".
toLowerCase()
String1.0MethodCore