DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

XmStringHasSubstring(X3mot)


XmStringHasSubstring -- a compound string function that indicates whether one compound string is contained within another

Synopsis

#include <Xm/Xm.h>

Boolean XmStringHasSubstring (string, substring) XmString string; XmString 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 values

Returns True if substring has a single segment and if its text is completely contained within any single segment of string; otherwise, returns False. If two compound strings created using XmStringCreateLocalized in the same language environment satisfy this condition, the function returns True. If two compound strings created with the same character set using XmStringCreate satisfy this condition, the function returns True.

References

XmStringCreate(X3mot) and XmStringCreateLocalized(X3mot).
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004