XmStringCreateLtoR(library call) XmStringCreateLtoR(library call)
NAME
XmStringCreateLtoR -- A compound string function that creates a compound string
SYNOPSIS
#include <Xm/Xm.h>
XmString XmStringCreateLtoR(
char *text,
char *tag);
DESCRIPTION
This function is obsolete and exists for compatibility with previous releases. It is replaced by XmStringGenerate. XmStringCreateLtoR cre-
ates a compound string with two components: text and a tag component. This function scans for
characters in the text. When one is
found, the text up to that point is put into a segment followed by a separator component. No final separator component is appended to the
end of the compound string. The direction component defaults to left-to-right. This function assumes that the encoding is single byte
rather than multibyte.
The function will allocate space to hold the returned compound string. The application is responsible for managing the allocated space.
The application can recover the allocated space by calling XmStringFree.
text Specifies a NULL-terminated string to be used as the text component of the compound string.
tag Specifies the tag component to be associated with the given text. The value XmFONTLIST_DEFAULT_TAG is retained for compatibility
with previous releases.
RETURN
Returns a new compound string.
RELATED XmStringCreate(3) and XmStringGenerate(3).
XmStringCreateLtoR(library call)
Check Out this Related Man Page
XmStringSegmentCreate(library call) XmStringSegmentCreate(library call)
NAME
XmStringSegmentCreate -- A compound string function that creates a compound string
SYNOPSIS
#include <Xm/Xm.h>
XmString XmStringSegmentCreate(
char * text,
XmStringTag tag,
XmStringDirection direction,
Boolean separator);
DESCRIPTION
This function is obsolete and exists for compatibility with previous releases. It can be replaced by using a combination of XmStringCompo-
nentCreate and XmStringConcat. XmStringSegmentCreate is a high-level function that assembles a compound string consisting of a font list
element tag, a direction component, a text component, and an optional separator component.
The function allocates space for the returned compound string. The application is responsible for managing the allocated space. The
application can recover the allocated space by calling XmStringFree.
text Specifies a NULL-terminated string to be used as the text component of the compound string.
tag Specifies the tag component to be associated with the text. The value XmFONTLIST_DEFAULT_TAG is for compatibility with previous
releases.
direction Specifies the direction of the text.
separator A value of False means the compound string does not have a separator at the end. A value of True, means a separator immediately
follows the text component.
RETURN
Returns a new compound string.
RELATED XmStringCreate(3).
XmStringSegmentCreate(library call)
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)
Hi,
I have a space delimited text file that looks like the following:
BUD31 YRI 2e-06:CXorf15 YRI 3e-06:CREB1 YRI 4e-06
FLJ21438 CEU 3e-07:ETS1 CEU 8e-07:FGD3 CEU 2e-06
I want to modify the text file so that everytime there is a ":", a new line is introduced so that the document looks... (3 Replies)
Hi Seders,
i am new to this forum, but i think it's quite the best place to post.
So, here is my pb :
I have a csv file, with comma separator and text enclosed by ".
First pb is with text in " ......... ", wich sometimes includes lines break, and commas
And to complicate a little more,... (4 Replies)