Sign in Join
FPDoc Onlineexperiment

FindCollation function

In unit unicodedata

Find a collation by name.

Declaration

pascal
function FindCollation(AName: UnicodeString): PUCA_DataBook; overload

Arguments

AName

Name of collation to find.

Function result

Pointer to collation data.

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.