You'd have to grab the file using <CFFILE> first then you could do a replace on the variable that you define in your cffile call.
<cffile action="READ" file="c:\temp\foo.htm" variable="myfile"> <CFSET foo = replace(myfile, Chr(13), "", "ALL")> HTH, Jeff Garza Lead Developer/Webmaster Spectrum Astro, Inc. 480.892.8200 [EMAIL PROTECTED] http://www.spectrumastro.com -----Original Message----- From: Perez, Bismark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 9:37 AM To: CF-Talk Subject: Using Replace() to replace "hard returns" on <cfinclude> Hello there, I have a text file that I want to include in a page, but I would like to replace() all the hard returns in it first. Can I do all in one line? for example: <cfoutput> #replace(<cfinclude template="... >, ... )# </cfoutput> TIA ______________________________________________________________________ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

