Java examples for Language Basics:String
ToLowerCase converts a string to all lowercase letters:
public class Main { public static void main(String[] args) { String s = "This Is a Test"; s = s.toLowerCase();// w w w. j a v a 2s .c o m System.out.println(s); } }