| Return Type | Function name | Arguments |
|---|---|---|
| int | StringCompareI | (const hzString&,const hzString&,) |
Declared in file: hzString.h
Defined in file : hzString.cpp
Function Logic:
Function body:
int StringCompareI (const hzString& A, const hzString& B)
{
_hzfunc(__func__) ;
const char* t = *A ;
const char* s = *B ;
if (!t)
return (!s || !s[0])? 0: -_tolower(*s) ;
if (!s || !s[0])
return _tolower(*t) ;
for (; *t && *s && _tolower(*t) == _tolower(*s) ; t++, s++) ;
return _tolower(*t) - _tolower(*s) ;
}