On 12/19/2003 11:24 AM, William Martell wrote:

Hello All,

I was wondering if anyone could offer some pointers on extracting data from
a text file that is formated.

I need to extract the data that is under the column headers.  I have
attached a sample of the printed report.  The real report repeats the same
format over and over again until completion.


This looks like a fixed width format. I would use substr to extract the fields, trim excess spaces, then write it out to Excel.


Regards,
Randy.



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to