Thanks Wilgeno, Your tips helped a lot. I couldn't get your
exact code to work but in playing with it, I figure out atleast how
to get each record one by one. So my code now looks like this:
<cffile action = "read"
file = "C:\data.txt"
variable = "rc">
<!--- set global constants --->
<CFSCRIPT>
EOL = #chr(10)#;
TAB = #chr(9)#;
CR = #chr(13)#;
SPACE=#chr(32)#;
</CFSCRIPT>
<!--- end setting global constants --->
<cfset i = 0>
<cfset total_rows = #listlen(rc, EOL)#>
<cfset starting_row = 5>
<cfloop index="current_row" list="#rc#"
delimiters="#EOL#">
<cfoutput>#HTMLCodeFormat(listgetat(current_row, "1"),
-1)#</cfoutput>
</cfloop>
What I can't figure out how to do is just make this output
only the rows starting_row to total_rows.
Any tips?
Thanks,
DocSun