


XmStringCompare(3X)					  XmStringCompare(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmSSttrriinnggCCoommppaarree - A compound string function that compares two strings

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gCCoommppaarree ((_s_1, _s_2))
       XXmmSSttrriinngg	 _s_1;;
       XXmmSSttrriinngg	 _s_2;;

DESCRIPTION
  XXmmSSttrriinnggCCoommppaarree returns a Boolean value indicating the results of a semant-
  ically equivalent comparison of two compound strings.

  Semantically equivalent means	that the strings have the same text com-
  ponents, font	list element tags, directions, and separators.	In general,
  if two compound strings are created with the same (char *) string 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, the	compound
  strings compare as equal.  If	two compound strings are created with the
  same (char *)	string and the same font list element tag other	than
  XXmmFFOONNTTLLIISSTT__DDEEFFAAUULLTT__TTAAGG using XXmmSSttrriinnggCCrreeaattee, the strings compare as equal.

  _s_1	 Specifies a compound string to	be compared with _s_2

  _s_2	 Specifies a compound string to	be compared with _s_1

RETURN VALUE
  Returns True if two compound strings are equivalent.

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)).


























