toLowerCase

expect fun Char.toLowerCase(): Char(source)

Deprecated

Warning since 1.5

Use lowercaseChar() instead.

Replace with

lowercaseChar()

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

Since Kotlin

1.0

Deprecated

Warning since 1.5

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
actual inline fun Char.toLowerCase(): Char(source)

Deprecated

Warning since 1.5

Use lowercaseChar() instead.

Replace with

lowercaseChar()

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

Since Kotlin

1.1

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

Deprecated

Warning since 1.5

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.1
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

actual inline fun Char.toLowerCase(): Char(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)

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
actual fun Char.toLowerCase(): Char(source)

Deprecated

Warning since 1.5

Use lowercaseChar() instead.

Replace with

lowercaseChar()

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

Since Kotlin

1.3

Deprecated

Warning since 1.5

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.3