IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#20795 - 10/17/07 06:58 AM Selecting a variable sized section of data
meccles Offline
Junior Member

Registered: 10/16/07
Posts: 1
Loc: South Coast UK
Hi
I'm a Planet Press newbie so be gentle.
We need to be able to select a variable number of lines of data which are bracketed by two fixed strings as below:

. . . . Remarks . . . . . . . . . . . .

%text1
%text2
%text3
%text4
%text5
%text6
%text_nnn etc


WO Remark 1
WO remark 2
SO text 1
SO text 2

. . . . . Parts List . . . . . . . . . . . .

and want to extract the 'WO Remark 1' and 'WO Remark 2'

Can anyone help please?
_________________________
Mark Eccles
Senior Analyst - Enterprise Systems
Parker SSD Drives

'Rules are for the obedience of fools and the guidance of wise men'

Top
#20796 - 11/16/07 05:46 AM Re: Selecting a variable sized section of data
Chris_10 Offline
OL Guru

Registered: 06/24/04
Posts: 126
Loc: London, England
I assume the 'Remarks' and 'Parts List' can appear on any line in the data. It is possible to do this, but not particularly straightforward.

Could you simply look for WO as a rule instead? Or can WO appear as the first two characters outside this section?

Top
#20797 - 11/19/07 08:59 AM Re: Selecting a variable sized section of data
cosimo Offline
OL Expert

Registered: 10/31/01
Posts: 1286
Loc: montreal
Hi,

It is not clear as to what you would like to achieve. Please explain in detail.

Thanks
Cosimo

Top


Moderator:  cosimo, OL Newsgroup Support