> 
> 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
> 

You could always loop over line endings (read in to myfile using cffile):

<cfloop list="#myfile#" delimiters="#chr(13)#" index="line">
        <cfloop list"#line#" delimiter="," index="field">
                ... Or something like that ...
        </cfloop>
</cfloop>

Depends on how it is delimited or what format it's in etc.

Paul



-- 
** 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]

Reply via email to