ThetoLowerCase()method converts all characters in thestringto lowercase characters. Example classMain{publicstaticvoidmain(String[] args){ String str1 ="JAVA PROGRAMMING";// convert to lower case letters System.out.println(str1.toLowerCase()); } }// Output: java programming Syntax of toLowe...
参考链接: Java字符串之-toLowerCase() tolowercase 字符串toLowerCase()方法 (String toLowerCase() Method) toLowerCase() method is a String class method, it is used to convert given string into the lowercase. toLowerCase()方法是String类方法,用于将给定的字符串转换为小写。 Syntax: 句法: Strin...
Character.toLowerCase(int codePoint) has the following syntax. publicstaticinttoLowerCase(intcodePoint) Example In the following code shows how to use Character.toLowerCase(int codePoint) method. publicclassMain {/*fromwww.java2s.com*/publicstaticvoidmain(String[] args) {intcp1 = 0x0050;int...
JavatoLowerCase(char ch)method is a part ofCharacterclass. This method converts the given character argument to the lowercase using case mapping information which is provided by the Unicode Data file. Syntax: public static char toLowerCase(char ch) Parameters: The parameter passed is the charact...
Java Vs. C++ JVM - Java Virtual Machine Java - JDK vs JRE vs JVM Java - Environment Setup Java - Hello World Program Java - Comments Java - Basic Syntax Java - Variables Java - Data Types Java - Type Casting Java - Unicode System Java - User Input Java - Date & Time Java Operators...
JavatoLowerCase(int codePoint)method is a part ofCharacterclass. This method converts the specified Unicode code point character argument to the lowercase using case mapping information which is provided by the Unicode Data file. Syntax:
Syntaxpublic String toLowerCase() ParametersNone.Technical DetailsReturns: A String value, representing the new string converted to lower case❮ String Methods Track your progress - it's free! Log in Sign Up COLOR PICKER PLUS SPACES GET CERTIFIED FOR TEACHERS FOR BUSINESS CONTACT US Top ...
SyntaxFollowing is the syntax for Java String toLowerCase() method −public String toLowerCase() or, public String toLowerCase(Locale locale) Parameterslocale − use the case transformation rules for this locale. // second syntaxReturn Value...
with its syntax and example. By Preeti Jain Last updated : March 17, 2024 Character class toLowerCase() methodtoLowerCase() method is available in java.lang package. toLowerCase() method is used to return the lowercase character of the given char value. toLowerCase() method does not ...
Syntax: String String_object.toLowerCase(); Here,String_objectis a String object which we have to convert into lowercase. The method does not change the string; it returns the lowercase converted string. Example: Input: str = "Welcome at IncludeHelp!" Function call: ans = str.toLowerCase...