String.toLowerCase

Converts all of the characters in this {@code String} to lower case using the rules of the default locale. This is equivalent to calling {@code toLowerCase(Locale.getDefault())}. <p> <b>Note:</b> This method is locale sensitive, and may produce unexpected results if used for strings that are intended to be interpreted locale independently. Examples are programming language identifiers, protocol keys, and HTML tags. For instance, {@code "TITLE".toLowerCase()} in a Turkish locale returns {@code "t\u005Cu0131tle"}, where '\u005Cu0131' is the LATIN SMALL LETTER DOTLESS I character. To obtain correct results for locale insensitive strings, use {@code toLowerCase(Locale.ROOT)}.

@return the {@code String}, converted to lowercase. @see java.lang.String#toLowerCase(Locale)

class String
toLowerCase
()

Meta