This will read in your file and loop thruogh it line by line, with a bit of
line formating you should be able to get the required result.
That what you want?
<CFFILE ACTION="READ" FILE="#FileLocation#/#FileName#" VARIABLE="inFile">
<cfloop index="line" list="#inFile#" delimiters="#CHR(13)##CHR(10)#">
<!---
process each line here
--->
</cfloop>
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 23 July 2003 12:39
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] Sum of one column of resultset
Hi,
Is there a simple way to get CF to parse a text file? I have a result set
coming in as text from a search engine query and need to convert elements of
this into an html formatted page
Thanks,
Damien
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]
DISCLAIMER: This e-mail is confidential and may also be legally privileged.
If you are not the intended recipient, use of the information contained in
this e-mail (including disclosure, copying or distribution) is prohibited
and may be unlawful. Please inform the sender and delete the message
immediately from your system. This e-mail is attributed to the sender and
may not necessarily reflect the views of the patsystems Group and no member
of the patsystems Group accepts any liability for any action taken in
reliance on the contents of this e-mail (other than where it has a legal or
regulatory obligation to do so) or for the consequences of any computer
viruses which may have been transmitted by this e-mail. The patsystems Group
comprises patsystems plc and its subsidiary group of companies.
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]