RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiString::AnsiCompareIC Method

Compares the System::AnsiString::AnsiString to another specified string (case insensitively).

Pascal
function AnsiCompareIC(const rhs: AnsiString&): Integer;
C++
__fastcall int AnsiCompareIC(const AnsiString& rhs) const;

System::AnsiString::AnsiCompareIC compares this System::AnsiString::AnsiString to rhs, without case sensitivity. The compare operation is controlled by the current Windows locale. The return value is shown below:

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!