RAD Studio VCL Reference
SysUtils.WideCompareText Function

Compares Unicode strings based on the current locale without case sensitivity.

function WideCompareText(const S1: WideString; const S2: WideString): Integer;
int WideCompareText(const BSTR S1, const BSTR S2);

WideCompareText compares S1 to S2, without case sensitivity. The compare 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 returns 0 if S1 = S2. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!