Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmstringhassubstring(3x) [osf1 man page]

XmStringHasSubstring(3X)												  XmStringHasSubstring(3X)

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; DESCRIPTION
XmStringHasSubstring indicates whether or not one compound string is contained within another. Specifies the compound string to be searched Specifies the compound string to be searched for RETURN VALUE
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 func- tion returns True. SEE ALSO
XmStringCreate(3X), XmStringCreateLocalized(3X) XmStringHasSubstring(3X)

Check Out this Related Man Page

XmStringByteCompare(library call)										 XmStringByteCompare(library call)

NAME
XmStringByteCompare -- A compound string function that indicates the results of a byte-by-byte comparison SYNOPSIS
#include <Xm/Xm.h> Boolean XmStringByteCompare( XmString s1, XmString s2); DESCRIPTION
This function is obsolete and exists for compatibility with previous releases. XmStringByteCompare returns a Boolean indicating the results of a byte-by-byte comparison of two compound strings. In general, if two compound strings are created with the same (char *) string using XmStringCreateLocalized in the same language environ- ment, the compound strings compare as equal. If two compound strings are created with the same (char *) string and the same font list ele- ment tag set other than XmFONTLIST_DEFAULT_TAG using XmStringCreate, the strings compare as equal. In some cases, once a compound string is put into a widget, that string is converted into an internal form to allow faster processing. Part of the conversion process strips out unnecessary or redundant information. If an application then does an XtGetValues to retrieve a com- pound string from a widget (specifically, Label and all of its subclasses), it is not guaranteed that the compound string returned is byte- for-byte the same as the string given to the widget originally. s1 Specifies a compound string to be compared with s2 s2 Specifies a compound string to be compared with s1 RETURN
Returns True if two compound strings are identical byte-by-byte. RELATED
XmStringCreate(3) and XmStringCreateLocalized(3). XmStringByteCompare(library call)
Man Page

We Also Found This Discussion For You

1. What is on Your Mind?

Throw my Toys out of the Pram!

Hi Folks, Today hasn't been the best one of my career in IT. I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them. At the... (3 Replies)
Discussion started by: gull04
3 Replies