Vcl.FileCtrl.TDirectoryListBox.FileCompareText
Delphi
function FileCompareText(const A, B: String): Integer;
C++
int __fastcall FileCompareText(const System::UnicodeString A, const System::UnicodeString B);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.FileCtrl.pas Vcl.FileCtrl.hpp |
Vcl.FileCtrl | TDirectoryListBox |
Description
Compares two strings, taking into account the case-sensitivity of the file system.
If CaseSensitive is false, FileCompareText compares the strings passed to it case-insensitively. Otherwise, it uses AnsiCompareStr to compare the strings.