[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
How to compare strings
Source position: ustringh.inc line 55
type TCompareOption = ( |
||
coLingIgnoreCase, |
|
Ignore case linguistically (usually identical to coIgnoreCase) |
coLingIgnoreDiacritic, |
|
Ignore diacritic caharacters |
coIgnoreCase, |
|
Ignore case (usually identical to coLingIgnoreCase) |
coIgnoreKanaType, |
|
Corresponding hiragana and katakana characters compare as equal. |
coIgnoreNonSpace, |
|
Ignore nonspace characters (usually identical to coLingIgnoreDiacritic) |
coIgnoreSymbols, |
|
Ignore symbols and punctuation characters |
coIgnoreWidth, |
|
Ignore half-width and full width characters (used in Chinese and Japanese) |
coLingCasing, |
|
Use linguistic rules for casing, instead of file system rules |
coDigitAsNumbers, |
|
Treat digits as numbers (20 before 120) |
coStringSort |
|
Handle punctuation as symbols |
); |
TCompareOption indicates how 2 strings should be compared. This option is used in the WideStringManager implementation when comparing 2 strings. The following options exist:
Not all platforms will support all possibilities.
|
Record containing the various callbacks of the widestring manager. |