ComputeSortKey¶
Compute the sort key for a string.
Declaration¶
Source position: unicodedata.pas line 525
function ComputeSortKey(const AString: UnicodeString;
const ACollation: PUCA_DataBook) : TUCASortKey
; overload; overload;
function ComputeSortKey(const AStr: PUnicodeChar;
const ALength: SizeInt;
const ACollation: PUCA_DataBook) : TUCASortKey
; overload; overload;
Description¶
ComputeSortKey computes the sort key for a unicode string AString (or the alternate form using a null-terminated AStr with length Alength) using the Unicode Collation Algorithm data in ACollation. This key can then be used in CompareSortKey to compare unicode strings.
See also¶
| Name | Description |
|---|---|
| CompareSortKey | Compare two sort keys. |