I'm using FindStrInStr to find a string in another string... It ALWAYS
returns false, although I definitively know the searched for string IS in
the searched string...
My code:
match = MatchPerson (p, strSearchText);
Boolean MatchPerson (PersonDetailsType *p, Char *strToFind)
{
if (p->LastName &&
FindStrInStr(p->LastName,strToFind)
return true;
else
return false;
}
Anyone has any idea what could be the cause of this problem?
Regards,
Barry
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/