toLowerCase

actual inline fun Char.toLowerCase(): Char(source)(source)

Deprecated

Use lowercaseChar() instead.

Replace with

lowercaseChar()

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

Since Kotlin

1.0

actual inline fun String.toLowerCase(): String(source)(source)

Deprecated

Use lowercase() instead.

Replace with

import java.util.Locale
lowercase(Locale.getDefault())

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

Since Kotlin

1.0

Deprecated

Use lowercase() instead.

Replace with

lowercase()

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

Since Kotlin

1.0

inline fun String.toLowerCase(locale: Locale): String(source)

Deprecated

Use lowercase() instead.

Replace with

lowercase(locale)

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

Since Kotlin

1.0