<!DOCTYPE File PUBLIC "-//Liam Quin//DTD C API Documentation v1.1//EN" "doc.dtd"><File>
<Entry dir="liblqutil">
<Function File="../../src/liblqutil/strings.c">
<Name>LQU_StringContainedIn</Name>
<Class>Utilities/Strings
<Purpose>
Determines whether the given ShortString is contained anywhere 
in the LongString, and, if so, returns non-zero.
<Returns>
<LIST>
<LI>1 if the shorter string is contained in the longer, or
      if the strings are equal, of if ShortString is of length zero
<LI>0 otherwise
</LIST>
<Notes>
See strstr for a more efficient way to do this.  Some Unix systems
do not have strstr, though.
</Notes>
</Function>
<Decl>
API int
LQU_StringContainedIn(ShortString, LongString)
    CONST char *ShortString;
    CONST char *LongString;
</Decl>
</Entry>
