TCompareOption
How to compare strings.
Declaration
Source position: ustringh.inc line 64
type TCompareOption = ( |
coIgnoreCase |
|
Ignore case (usually identical to coLingIgnoreCase). |
); |
Description
TCompareOption indicates how 2 strings should be compared. This option is used in the WideStringManager implementation when comparing 2 strings. The following options exist:
- Ignore case linguistically (usually identical to coIgnoreCase).
- Ignore diacritic characters.
- Ignore case (usually identical to coLingIgnoreCase).
- Corresponding hiragana and katakana characters compare as equal.
- Corresponding hiragana and katakana characters compare as equal.
- Ignore nonspace characters (usually identical to coLingIgnoreDiacritic).
- Ignore symbols and punctuation characters.
- Ignore half-width and full width characters (used in Chinese and Japanese).
- Use linguistic rules for casing, instead of file system rules.
- Treat digits as numbers (20 before 120).
- Handle punctuation as symbols.
Not all platforms will support all possibilities.
See also