Test if this string is equal to the operand char string (on a case insensitive basis)
| Return Type | Function name | Arguments |
|---|---|---|
| bool | hzString::Equiv | (const char*,) |
Declared in file: hzString.h
Defined in file : hzString.cpp
Function Logic:
Function body:
bool hzString::Equiv (const char* cpStr)
{
// Test if this string is equal to the operand char string (on a case insensitive basis)
//
// Arguments: 1) cpStr The char sequence to test for
//
// Returns: True If this string is lexically eqivelent to the supplied cstr
// False Otherwise
_hzfunc("hzString::Equiv") ;
_strItem* thisCtl ; // This string's control area
if (!m_addr)
return false ;
thisCtl = _strXlate(m_addr) ;
return CstrCompareI(cpStr, (char*) thisCtl->_data()) == 0? true : false ;
}