toLowerCase

Platform and version requirements: JVM (1.0), JS (1.0), 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.

Platform and version requirements: JVM (1.0), JS (1.0), 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.

Platform and version requirements: 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.

© 2010–2021 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/to-lower-case.html