User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







java:lang:string:tolowercase

toLowerCase

toLowerCase()
toLowerCase(locale);

description of toLowerCase

returns the String, converted to lowerspace.

example of toLowerCase in java

package lang;
 
public class Lang {
 
    public static void main(String[] args) {
 
        String str = "TEST 1234";
 
        str = str.toLowerCase();
        // str = str.toLowerCase(Locale.SIMPLIFIED_CHINESE); // for Simplified Chinese
 
        System.out.println(str+" in lowercase");
    }
}

output of toLowerCase

 test 1234 in lowercase
advertising
java/lang/string/tolowercase.txt · Last modified: 2013/04/10 10:11 by 94.223.12.247

Impressum Datenschutz