String.toLowerCase

String.toLowerCase

Class Overview | Class Members | This Package | All Packages

Syntax 1
public String toLowerCase( Locale locale )
Parameters
locale
use the case transformation rules for this locale
Returns
the String, converted to lowercase.
Description
Converts all of the characters in this String to lower case using the rules of the given locale.

See Also
toLowerCase, toUpperCase



Syntax 2
public String toLowerCase()
Returns
the string, converted to lowercase.
Description
Converts this String to lowercase.

If no character in the string has a different lowercase version, based on calling the toLowerCase method defined by Character, then the original string is returned.

Otherwise, a new string is allocated, whose length is identical to this string, and such that each character that has a different lowercase version is mapped to this lowercase equivalent.

See Also
toLowerCase, toUpperCase