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

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
java/lang/string/tolowercase.txt · Last modified: 2024/02/16 01:12 (external edit)

Impressum Datenschutz