Xmstringhassubstring a compound string function that indicates whether one compound string is contained within another "xmstringhassubstring" "compound string functions" "xmstringhassubstring"
#include <Xm/Xm.h> Boolean XmStringHasSubstring( XmString string, XmString substring);
XmStringHasSubstring indicates whether or not one compound string is contained within another.
Specifies the compound string to be searched
Specifies the compound string to be searched for
Returns True if substring has a single text component and if its text is completely contained within any single text component of string; otherwise, it returns False.