Collation

Collation allows users to specify language-specific rules for string comparison, such as rules for letter-case and accent marks.

Members

Enums

Alternate
enum Alternate
MaxVariable
enum MaxVariable

Variables

alternate
Nullable!Alternate alternate;

Field that determines whether collation should consider whitespace and punctuation as base characters for purposes of comparison.

backwards
Nullable!bool backwards;

Flag that determines whether strings with diacritics sort from back of the string, such as with some French dictionary ordering.

caseFirst
Nullable!string caseFirst;

A flag that determines sort order of case differences during tertiary level comparisons.

caseLevel
Nullable!bool caseLevel;

Flag that determines whether to include case comparison at strength level 1 or 2.

locale
string locale;

The ICU locale

maxVariable
Nullable!MaxVariable maxVariable;

Field that determines up to which characters are considered ignorable when alternate: "shifted". Has no effect if alternate: "non-ignorable"

normalization
Nullable!bool normalization;

Flag that determines whether to check if text require normalization and to perform normalization. Generally, majority of text does not require this normalization processing.

numericOrdering
Nullable!bool numericOrdering;

Flag that determines whether to compare numeric strings as numbers or as strings.

strength
Nullable!int strength;

The level of comparison to perform. Corresponds to ICU Comparison Levels.

See Also

Meta