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