Find a collation by name.
Source position: unicodedata.pas line 572
function FindCollation( |
AName: UnicodeString |
):PUCA_DataBook; overload; |
const AIndex: Integer |
):PUCA_DataBook; overload; |
AName |
|
Name of collation to find. |
Pointer to collation data.
AIndex |
|
Index of collation. |
FindCollection searches a collation with name AName or index AIndex in the list of known collations and returns a pointer to the collation data. If the requested collation is not known, i.e. the name is not found, or the index is out of range, then Nil is returned. The valid index range is 0 to GetCollationCount-1.
|
Return the number of known collations. |