← Docs
kotlin-stdlib / kotlin.text / CASE_INSENSITIVE_ORDER

CASE_INSENSITIVE_ORDER

Common
JVM
JS
Native
1.0
val String.Companion . CASE_INSENSITIVE_ORDER : Comparator < String >
(Common source) (JVM source) (JS source) (Native source)

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.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .