toLowerCase

fun toLowerCase(codePoint: Int): Int

Converts the character (Unicode code point) argument to lowercase using case mapping information from the UnicodeData file.

Note that Character.isLowerCase(Character.toLowerCase(codePoint)) does not always return true for some ranges of characters, particularly those that are symbols or ideographs.

In general, String.toLowerCase should be used to map characters to lowercase. String case mapping methods have several benefits over Character case mapping methods. String case mapping methods can perform locale-sensitive mappings, context-sensitive mappings, and 1:M character mappings, whereas the Character case mapping methods cannot.

Return

the lowercase equivalent of the character (Unicode code point), if any; otherwise, the character itself.

Since

1.5

Parameters

codePoint

the character (Unicode code point) to be converted.

See also