Companion

expect object Companion(source)

Since Kotlin

1.0
actual object Companion(source)

Since Kotlin

1.1

Since Kotlin

1.0
actual object Companion(source)

Since Kotlin

1.3
actual object Companion(source)

Since Kotlin

1.8
actual object Companion(source)

Since Kotlin

1.8

Properties

Link copied to clipboard

A Comparator that orders strings ignoring character case.

Since Kotlin 1.2

A Comparator that orders strings ignoring character case.

Since Kotlin 1.0

A Comparator that orders strings ignoring character case.

Since Kotlin 1.8

A Comparator that orders strings ignoring character case.

Since Kotlin 1.8

Functions

Link copied to clipboard
inline fun String.Companion.format(format: String, vararg args: Any?): String

Uses the provided format as a format string and returns a string obtained by substituting format specifiers in the format string with the provided arguments, using the default locale.

Since Kotlin 1.0
inline fun String.Companion.format(locale: Locale?, format: String, vararg args: Any?): String

Uses the provided format as a format string and returns a string obtained by substituting format specifiers in the format string with the provided arguments, using the specified locale. If locale is null then no localization is applied.

Since Kotlin 1.4