Sign in Join
FPDoc Onlineexperiment

TStrings.UseLocale property

Member of TStringspublicIn unit Classes

Determines what methods are used in strings comparison.

Declaration

pascal
property UseLocale: Boolean read GetUseLocale write SetUseLocale;

Description

Set UseLocale to True to use AnsiCompareStr and AnsiCompareText for comparing strings in the TStrings object.

Set UseLocale to False to use CompareStr and CompareText for comparing strings in the TStrings object.

The default value is True.

See also

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