collator
fun collator(caseSensitive: Boolean = false, diacriticSensitive: Boolean = false, locale: Locale): Expression
Content copied to clipboard
fun collator(caseSensitive: Boolean = false, diacriticSensitive: Boolean = false, locale: String): Expression
Content copied to clipboard
fun collator(caseSensitive: Expression, diacriticSensitive: Expression, locale: Expression): Expression
Content copied to clipboard
Returns a collator
for use in locale-dependent comparison operations. The case-sensitive
and diacritic-sensitive
options default to false
. The locale
argument specifies the IETF language tag of the locale to use. If none is provided, the default locale is used. If the requested locale is not available, the collator
will use a system-defined fallback locale. Use resolved-locale
to test the results of locale fallback behavior.
Dsl function for "collator".