


XmStringHasSubstring(3X)			     XmStringHasSubstring(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmSSttrriinnggHHaassSSuubbssttrriinngg - A compound string function that indicates whether
  one compound string is contained within another

SYNOPSIS


  ##iinncclluuddee <<XXmm//XXmm..hh>>
  BBoooolleeaann XXmmSSttrriinnggHHaassSSuubbssttrriinngg ((_s_t_r_i_n_g,	_s_u_b_s_t_r_i_n_g))
       XXmmSSttrriinngg	 _s_t_r_i_n_g;;
       XXmmSSttrriinngg	 _s_u_b_s_t_r_i_n_g;;

DESCRIPTION
  XXmmSSttrriinnggHHaassSSuubbssttrriinngg indicates whether or not	one compound string is con-
  tained within	another.

  _s_t_r_i_n_g Specifies the compound	string to be searched

  _s_u_b_s_t_r_i_n_g
	 Specifies the compound	string to be searched for

RETURN VALUE
  Returns True if _s_u_b_s_t_r_i_n_g has	a single segment and if	its text is com-
  pletely contained within any single segment of _s_t_r_i_n_g; otherwise, returns
  False.  If two compound strings created using	XXmmSSttrriinnggCCrreeaatteeLLooccaalliizzeedd	in
  the same language environment	satisfy	this condition,	the function returns
  True.	 If two	compound strings created with the same character set using
  XXmmSSttrriinnggCCrreeaattee satisfy this condition, the function returns True.

RELATED	INFORMATION
  XXmmSSttrriinnggCCrreeaattee((33XX)) and XXmmSSttrriinnggCCrreeaatteeLLooccaalliizzeedd((33XX))..



























