I have a text file that I am trying to loop over using the
feed, new page" character. The ultimate goal is to output
file as a PDF with <cfdocument...> replacing that
with <cfdocumentitem type="pagebreak"/> tags.
If I output the text file character by character I count 6
for (i=1; i <= len(report); i++)
char = mid(report,i,1);
If I loop over the text file delimiting on the asc(12)
character, I get
41 items rather then the expected 7.
<cfloop list="#report#" delimiters="#asc(12)#"
Any idea why my code is not producing consistent results?