W3cubDocs

/Kotlin

CASE_INSENSITIVE_ORDER

Platform and version requirements: JVM (1.0), JS (1.2), Native (1.3)
val String.Companion.CASE_INSENSITIVE_ORDER: Comparator<String>

A Comparator that orders strings ignoring character case.

Note that this Comparator does not take locale into account, and will result in an unsatisfactory ordering for certain locales.

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-c-a-s-e_-i-n-s-e-n-s-i-t-i-v-e_-o-r-d-e-r.html