API Reference > Other Classes > OdAnsiString Class > OdAnsiString Methods > OdAnsiString::iCompare Method
OdAnsiString::iCompare Method
Syntax
C++
int iCompare(const char* otherString) const;
Parameters 
Description 
const char* otherString 
[in] Other string. 

Case insensitive string comparison. 

 

iCompare() returns one of the following: 

 

Returns 
Condition 
< 0 
This String object < otherString. 
This String object == otherString. 
> 0 
This String object > otherString. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.