System.WideStrUtils.WStrComp
Delphi
function WStrComp(const Str1, Str2: PWideChar): Integer;
C++
extern DELPHI_PACKAGE int __fastcall WStrComp(const System::WideChar * Str1, const System::WideChar * Str2);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.WideStrUtils.pas System.WideStrUtils.hpp |
System.WideStrUtils | System.WideStrUtils |
Description
Compares two PWideChar values with case sensitivity.
Call WStrComp to compare two PWideChar strings, with case sensitivity. The return value is indicated in the following table.
Return value | Condition |
---|---|
<0 |
Str1 sorts before Str2 |
=0 |
Str1 is the same as Str2 |
>0 |
Str1 sorts after Str2 |