[ Previous | Next | Contents | Glossary | Home | Search ]
Motif 2.1 Programmer's Reference


XmStringHasSubstring

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

Format

#include <Xm/Xm.h>
Boolean XmStringHasSubstring
XmString
stringXmString substring

DESCRIPTION

XmStringHasSubstring indicates whether or not one compound string is contained within another.

string
Specifies the compound string to be searched

substring
Specifies the compound string to be searched for

RETURN

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.

RELATED

XmStringCreate (3) and XmStringCreateLocalized (3).


[ Previous | Next | Contents | Glossary | Home | Search ]