Convert Characters to Lower Case

To convert all upper case characters in a string to lower case, use the method toLowerCase() of the String class.
The example below shows how to use it. Note that the method returns a String so you’ll need to assign the return value of the method to a variable (in this case the same variable).

The result of the above code when executed:

Search for more Java info on this site here:
Custom Search

Any thoughts or questions?