System.AnsiStrings.AnsiCompareStr
Delphi
function AnsiCompareStr(const S1, S2: AnsiString): Integer;
C++
extern DELPHI_PACKAGE int __fastcall AnsiCompareStr(const System::AnsiString S1, const System::AnsiString S2)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.AnsiStrings.pas System.AnsiStrings.hpp |
System.AnsiStrings | System.AnsiStrings |
Description
Compare two strings with case-sensitivity.
AnsiCompareStr compares S1 to S2 with case-sensitivity. The compare operation is controlled by the current user locale. The return value is the same as CompareStr.
To compare strings without case-sensitivity, use AnsiCompareText.