API Reference > Other Classes > OdString Class > OdString Methods > iCompare Method > OdString::iCompare Method (OdString&)
OdString::iCompare Method (OdString&)
Syntax
C++
inline int iCompare(const OdString& otherString) const;
Parameters 
Description 
const OdString& 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.