setLocale

expect fun setLocale(locale: String?): Collation.Unicode(source)

Specifies the locale to allow the collation to compare strings appropriately based on the locale. The local code is an ISO-639 language code plus, optionally, an underscore and an ISO-3166 country code: "en", "en_US", "fr_CA", etc.

Return

this

Parameters

locale

The locale code

actual fun setLocale(locale: String?): Collation.Unicode(source)
actual fun setLocale(locale: String?): Collation.Unicode(source)