FindCollation

Find a collation by name

Declaration

Source position: unicodedata.pas line 559

  function FindCollation(AName: UnicodeString) : PUCA_DataBook;  Overload;
  function FindCollation(const AIndex: Integer) : PUCA_DataBook;  Overload;

Description

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.

See also

Name Description
GetCollationCount Return the number of known collations.