XmStringHasSubstring(library call) XmStringHasSubstring(library call)

XmStringHasSubstring — A compound string function that indicates whether one compound string is contained within another

#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.

XmStringCreate(3) and XmStringCreateLocalized(3).