RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDirectoryListBox.FileCompareText Method

Compares two strings, taking into account the case-sensitivity of the file system.

Pascal
function FileCompareText(const A: String; const B: String): Integer;
C++
__fastcall int FileCompareText(const AnsiString A, const AnsiString B);

If CaseSensitive is false, FileCompareText compares the strings passed to it case-insensitively. Otherwise, it uses AnsiCompareStr to compare the strings. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!