RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.WideCompareText Function

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

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

SysUtils

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!