| http://www.w3.org/ns/prov#value | - The read content will be available in the index variable specified.<cfloop file=c: emp\myfile.txt index=line> <cfoutput>#line#</cfoutput> <!--- or do whatever with the line ---></cfloop>With cfloop, you can also iterate over a part of the file by specifying from and to values.Here is an example to loop over lines between 10 and 20.<cfloop file=c: emp\
|