Snarfing Text between Variables
Snarfing Text between Variables
- Subject: Snarfing Text between Variables
- From: Xandra Lee <email@hidden>
- Date: Fri, 9 Mar 2001 08:40:28 -0500
Im working on a rather long text parsing script and would like advice on
the BEST (read very concise, and Reasonably quick) method to
isolate the text between one text string & another....(TextString1 & 2
in ex. below)
Should it matter:
1. I'm doing the basic parsing in Tex-Edit
2. 3rd party OSAXen OK
2. Once text is isolated, I'll do some parsing on that text, then replace
it with parsed version.
Example:
"YadaYadayYada... etc"
TextString1
the text I need to parse --(set to variable, parse, then replace with
parsed text)
TextString2
"YadaYadayYada... etc"
TextString1
the text I need to parse
TextString2
"YadaYadayYada... etc"
Note, as in the example, numerous cases may exist.
As always.. Thanks in advance,
xandra
Alixandra Leigh
AceDesign
email@hidden
------------------------------------------
Furniture:
><
http://home.rochester.rr.com/alexleighs/furniture/furniture.htm>
Renderings:
><
http://home.rochester.rr.com/alexleighs/interiors/interiors.htm>