You are going to have to do a <cffile READ> on the file first, then do a replace on the variable set in the cffile..
<cfset variables.content = #ReplaceNoCase(variablename, Chr(10), "<br>" , "ALL")#> Paul Giesenhagen QuillDesign http://www.quilldesign.com SiteDirector - Commerce Builder ----- Original Message ----- From: "Perez, Bismark" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, February 19, 2002 10:37 AM 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 t o > replace() all the hard returns in it first. Can I do all in one line? for > example: > > <cfoutput> #replace(<cfinclude template="... >, ... )# </cfoutput> > > > TIA > ______________________________________________________________________ Why Share? Dedicated Win 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=coldfusionc 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

