System.SysUtils.WideCompareText
Delphi
function WideCompareText(const S1, S2: WideString): Integer;
C++
extern DELPHI_PACKAGE int __fastcall WideCompareText(const System::WideString S1, const System::WideString S2);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
Compares Unicode strings based on the current locale without case sensitivity.
WideCompareText compares S1 to S2, without case sensitivity. The comparison operation is controlled by the current locale. WideCompareText returns a value less than 0 if S1 < S2--a value greater than 0 if S1 > S2 and 0 if S1 = S2.