I am trying to figure out on how to split a data file into pieces, here is
an example:
data1
<!-- Important info -->
data2
<!-- End -->
data3
In perl there is the split command that would split a file into pieces
based on the comments of "End" and "Important info". Is there a way to
retrieve data2 from the file with vortex? Keep in mind the data could vary
from several lines to 1 line. Please help.
Here is the PERL way of doing it:
@result1 = split(/<!-- Important info -->/, $file);
@result2 = split(/<!-- End -->/, $result1[1]);
$finaldata = $result2[0];
How would I accomplish this with vortex?
Thank You,
Walter
marchuk@u.washington.edu
-------------------------------------------------------------------------
Search in over 20 Search Engines to find sites, mp3, files, news, people,
etc.. at
http://www.brightgate.com
BRIGHTGATE.COM
-------------------------------------------------------------------------