toLowerCase

Common
JVM
JS
Native
1.0
@DeprecatedSinceKotlin("1.5") fun Char.toLowerCase(): Char
Deprecated: Use lowercaseChar() instead.

Converts this character to lower case using Unicode mapping rules of the invariant locale.

Common
JVM
JS
Native
1.0
@DeprecatedSinceKotlin("1.5") fun String.toLowerCase(): String
Deprecated: Use lowercase() instead.

Returns a copy of this string converted to lower case using the rules of the default locale.

JVM
1.0
@DeprecatedSinceKotlin("1.5") fun String.toLowerCase(
    locale: Locale
): String
Deprecated: Use lowercase() instead.

Returns a copy of this string converted to lower case using the rules of the specified locale.