XmStringTableToXmString(library call) XmStringTableToXmString(library call)
NAME
XmStringTableToXmString -- A convenience function that converts a compound string table to a single compound string
SYNOPSIS
#include <Xm/Xm.h>
XmString XmStringTableToXmString(
XmStringTable table,
Cardinal count,
XmString break_component);
DESCRIPTION
XmStringTableToXmString takes as input table of compound strings and a specified string component (such as a tab) and returns a single com-
pound string consisting of each of the elements of table concatenated together with a single copy of break_component inserted between each
element.
table Specifies an XmStringTable containing the compound strings to be converted.
count Specifies the number of compound strings in table.
break_component
Specifies the XmStringComponent that will be inserted in the result to separate the individual elements of table. The most useful
types will be XmSTRING_COMPONENT_SEPARATOR and XmSTRING_COMPONENT_TAB. Refer to the XmStringComponentType(3) reference page for
a complete list of possible component types. Note, however, that the XmSTRING_COMPONENT_UNKNOWN component is not a possible type.
RETURN
Returns a new XmString. The function will allocate space to hold the returned compound string. When the application no longer needs the
returned compound string, the application should call XmStringFree.
RELATED XmString(3), XmStringComponentType(3), and XmStringFree(3).
XmStringTableToXmString(library call)
Check Out this Related Man Page
XmStringToXmStringTable(library call) XmStringToXmStringTable(library call)
NAME
XmStringToXmStringTable -- A convenience function that converts a single compound string to a table of compound strings
SYNOPSIS
#include <Xm/Xm.h>
Cardinal XmStringToXmStringTable(
XmString string,
XmString break_component,
XmStringTable *table);
DESCRIPTION
XmStringToXmStringTable takes as input a single compound string and a specified string component (such as a tab) and returns a table of
compound strings consisting of portions of string delimited by components matching break_component. The components marking breaks will not
appear in the resulting table.
string Specifies the XmString to be converted.
break_component
Specifies the XmStringComponent that will be used to indicate where to split string to form the individual elements of table. The
most useful types will be XmSTRING_COMPONENT_SEPARATOR and XmSTRING_COMPONENT_TAB. Refer to the XmStringComponentType(3) refer-
ence page for a complete list of possible component types. Note, however, that the XmSTRING_COMPONENT_UNKNOWN component is not a
possible type.
table Returns the equivalent XmStringTable. The function will allocate space to hold the returned XmStringTable. When the applicaiton
no longer needs the returned XmStringTable, the application should call XmStringFree once for each compound string in the table,
and then calling XtFree to deallocate the XmStringTable itself.
RETURN
Returns the number of compound strings in table.
RELATED XmStringTable(3).
XmStringToXmStringTable(library call)
Check if records of table B are 1 month old. if yes then Truncate table B_SNAPSHOT and then copy data from B to SNAPSHOT_B table otherwise no need to copy.
Run a schedular after every 15 minutes.
The tables B and SNAPSHOT_B has the below structure(same for both):
PROCESS_NAME
MQ_NAME... (0 Replies)
hi!
i have a file consisting of the following lines:
(BTW, = space)
.
.
.
12ME_T1mapping_flip30bshortf
13DCE_whole_brainbshortf
13DCE_3Dbshortf
.
.
.
the list of scans starts at 1 and goes on sometimes up to 60 scans. i would like to change only the lines that contain 'whole' to... (2 Replies)
We have an application here that does some table queries and then prints the result on screen. I do not have the code of this application (which i will just call "queryCommand"), but what it does is that you call it with some parameters and it prints some info about the query and then the... (5 Replies)
Dear all,
I have a database of compound words. I want to retain only strings with a single hyphen and identify those strings which have more than one hyphen. I am giving an example below
test-test
test-test-test
test-test-test-test-test
good-for-nothing
The regex/script should remove all... (11 Replies)