Compares Unicode strings based on the current locale with case sensitivity.
function WideCompareStr(const S1: WideString; const S2: WideString): Integer;
int WideCompareStr(const BSTR S1, const BSTR S2);
SysUtils
WideCompareStr compares S1 to S2, with case sensitivity. The compare operation is controlled by the current locale. The return value is:
Condition |
Return Value |
S1 > S2 |
> 0 |
S1 < S2 |
< 0 |
S1 = S2 |
= 0 |
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|