Thursday, March 6, 2008

Convert a String to Lower Case in Java

This tutorial will show you 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: