Convert a String to Lower Case in Java

This Java tutorial shows how to convert a string to lower case in Java. To convert a string to lower case, call the toLowerCase() method on the string.

Below is an example:

String original = "HELLO";

String lowerCase = original.toLowerCase();


0 comments:

Post a Comment