Return TypeFunction nameArguments
boolCstrContains(const char*,const char*,)

Declared in file: hzTextproc.h
Defined in file : hzTextproc.cpp

Function Logic:

0:START 1:!cpHaystack||!cpHaystack[0]||!cpNeedle||!cpNeedle[0] 2:Return false 3:*i; 4:i[0]!=cpNeedle[0] 5:!CstrCompare(i,cpNeedle) 6:Return true 7:Return false

Function body:

bool CstrContains (const char* cpHaystack, const char* cpNeedle)
{
   const char* i ;
   if (!cpHaystack || !cpHaystack[0]|| !cpNeedle || !cpNeedle[0])
       return false ;
   for (i = cpHaystack ; *i ; i++)
   {
       if (i[0]!= cpNeedle[0])
           continue ;
       if (!CstrCompare(i, cpNeedle))
           return true ;
   }
   return false ;
}