Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XmStringCreate(3X)

XmStringCreateSimple(3X)

XmStringHasSubstring(3X)  —  Subroutines

OSF

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)
XmStringstring;
XmStringsubstring;

DESCRIPTION

XmStringHasSubstring indicates whether or not one compound string is contained within another. 

stringSpecifies the compound string to be searched

stringSpecifies 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 XmStringCreateSimple 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.  The result of comparing a compound string created with XmStringCreate against a compound string created with XmStringCreateSimple is undefined. 

RELATED INFORMATION

XmStringCreate(3X) and XmStringCreateSimple(3X). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026