text file processing

2002-02-25 Thread Brian Scandale
I need a couple of pointers on text file processing. First I use cffile to get the file into a memory variable Now I need to: - parse the file one line at a time searching for a specific string and when I find it - read 7 more lines and then begin reading the next 15 lines, one line at a time

text file processing

2002-02-25 Thread Brian Scandale
cfset rowcount = 1 /cfif cfif rowcount GT 7 AND rowcount LT 24 cfquery INSERT statement goes here cfoutput#i#br/cfoutput /cfif /cfloop I need a couple of pointers on text file processing. First I use cffile to get the file

Re: text file processing

2002-02-25 Thread David Schmidt
Excellent. It is good to see someone post the answer even when they find it themselves. Helps the next poor fellow. Thanks! David (aka... The next poor fellow. lol) __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM /