Try this:
cffile action="" file=#expandpath(.)#\somefile.txt
variable=myfile
cfloop list=#myfile# delimiters=#chr(10)# index=line
cfloop list=#line# delimiters=| index=column
cfoutput#column#br/cfoutput
/cfloop
/cfloop
Steve Nelson
_
From: Asim Manzur [mailto:[EMAIL PROTECTED]
Sent:
I would say that the problem isn't editing the text file, but rather
figuring out where to enter your new information and how to break what
you have into structs, etc.
You can read the original text file in without a problem using CFFILE.
You might want to look at looping over the text using new
2 matches
Mail list logo