XmStringHasSubstring(3X)

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

As shipped in IRIX 6.5.7. Unchanged since IRIX 6.5.

NAME
     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;


VERSION
     This page documents version 1.2 of the Motif library.

DESCRIPTION
     XmStringHasSubstring indicates whether or not one compound string  is  con-
     tained within another.


     string Specifies the compound string to be searched

     substring
            Specifies the compound string to be searched for


RETURN VALUE
     Returns  True  if  substring  has  a single segment and if its text is com-
     pletely 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.

RELATED INFORMATION
     XmStringCreate(3X) and XmStringCreateLocalized(3X).

                                                        XmStringHasSubstring(3X)