java tutorial - Java Strings toLowerCase() method - java programming - learn java - java basics - java for beginners
Learn Java - Java tutorial - Java strings to lower case - Java examples - Java programs
Description
- The toLowerCase () method has two options.
- First option converts each and every character in a given string into lowercase by using the rules of locale. This is equivalent of calling toLowerCase (Locale.getDefault ()).
- Second option takes the locale as an argument to use during the conversion of lowercase.
Syntax
Syntax method:
Options
Detailed information about the parameters:
- no.
Return value
- In Java, toLowerCase () returns a string that is converted to lowercase.