toLowerCase

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

Converts this character to lowercase.

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

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



fun main(args: Array<String>) {
//sampleStart
println("Iced frappé!".toLowerCase()) // iced frappé!
//sampleEnd
}
inline fun String.toLowerCase(locale: Locale): String (source)

Platform and version requirements: JVM

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