lowercaseCodePoint

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

This function performs one-to-one character mapping. To support one-to-many character mapping, use the lowercase function. If this code point has no lower case equivalent, the code point itself is returned.

Since Kotlin

2.5

Samples

import kotlin.text.unicode.*
import kotlin.test.*

fun main() { 
   //sampleStart 
   val codePoints = "AΞ©1a+İ𐐀".asCodePointSequence()
val lowercaseCodePoints = codePoints.map { it.lowercaseCodePoint() }.toList()
val lowercase = codePoints.map { it.lowercase() }.toList()
println(lowercaseCodePoints) // [a, Ο‰, 1, a, +, i, 𐐨]
println(lowercase) // [a, Ο‰, 1, a, +, \u0069\u0307, 𐐨] 
   //sampleEnd
}

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

This function performs one-to-one character mapping. To support one-to-many character mapping, use the lowercase function. If this code point has no lower case equivalent, the code point itself is returned.

Since Kotlin

2.5

Samples

import kotlin.text.unicode.*
import kotlin.test.*

fun main() { 
   //sampleStart 
   val codePoints = "AΞ©1a+İ𐐀".asCodePointSequence()
val lowercaseCodePoints = codePoints.map { it.lowercaseCodePoint() }.toList()
val lowercase = codePoints.map { it.lowercase() }.toList()
println(lowercaseCodePoints) // [a, Ο‰, 1, a, +, i, 𐐨]
println(lowercase) // [a, Ο‰, 1, a, +, \u0069\u0307, 𐐨] 
   //sampleEnd
}

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

This function performs one-to-one character mapping. To support one-to-many character mapping, use the lowercase function. If this code point has no lower case equivalent, the code point itself is returned.

Since Kotlin

2.5

Samples

import kotlin.text.unicode.*
import kotlin.test.*

fun main() { 
   //sampleStart 
   val codePoints = "AΞ©1a+İ𐐀".asCodePointSequence()
val lowercaseCodePoints = codePoints.map { it.lowercaseCodePoint() }.toList()
val lowercase = codePoints.map { it.lowercase() }.toList()
println(lowercaseCodePoints) // [a, Ο‰, 1, a, +, i, 𐐨]
println(lowercase) // [a, Ο‰, 1, a, +, \u0069\u0307, 𐐨] 
   //sampleEnd
}

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

This function performs one-to-one character mapping. To support one-to-many character mapping, use the lowercase function. If this code point has no lower case equivalent, the code point itself is returned.

Since Kotlin

2.5

Samples

import kotlin.text.unicode.*
import kotlin.test.*

fun main() { 
   //sampleStart 
   val codePoints = "AΞ©1a+İ𐐀".asCodePointSequence()
val lowercaseCodePoints = codePoints.map { it.lowercaseCodePoint() }.toList()
val lowercase = codePoints.map { it.lowercase() }.toList()
println(lowercaseCodePoints) // [a, Ο‰, 1, a, +, i, 𐐨]
println(lowercase) // [a, Ο‰, 1, a, +, \u0069\u0307, 𐐨] 
   //sampleEnd
}

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

This function performs one-to-one character mapping. To support one-to-many character mapping, use the lowercase function. If this code point has no lower case equivalent, the code point itself is returned.

Since Kotlin

2.5

Samples

import kotlin.text.unicode.*
import kotlin.test.*

fun main() { 
   //sampleStart 
   val codePoints = "AΞ©1a+İ𐐀".asCodePointSequence()
val lowercaseCodePoints = codePoints.map { it.lowercaseCodePoint() }.toList()
val lowercase = codePoints.map { it.lowercase() }.toList()
println(lowercaseCodePoints) // [a, Ο‰, 1, a, +, i, 𐐨]
println(lowercase) // [a, Ο‰, 1, a, +, \u0069\u0307, 𐐨] 
   //sampleEnd
}

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

This function performs one-to-one character mapping. To support one-to-many character mapping, use the lowercase function. If this code point has no lower case equivalent, the code point itself is returned.

Since Kotlin

2.5

Samples

import kotlin.text.unicode.*
import kotlin.test.*

fun main() { 
   //sampleStart 
   val codePoints = "AΞ©1a+İ𐐀".asCodePointSequence()
val lowercaseCodePoints = codePoints.map { it.lowercaseCodePoint() }.toList()
val lowercase = codePoints.map { it.lowercase() }.toList()
println(lowercaseCodePoints) // [a, Ο‰, 1, a, +, i, 𐐨]
println(lowercase) // [a, Ο‰, 1, a, +, \u0069\u0307, 𐐨] 
   //sampleEnd
}