ColdFusion – replace nl to br Post author:Brian M McGarvie Post published:March 10, 2008 Post category:All The Rest Post comments:0 Comments Just a quickie if you need to replace NL (New Line or Carriage Return) in CFMX; <cfset text = replace(text,'#Chr(10)##Chr(13)#','<br>',"All")> You could also wrap it up in a CFC or a function if it’s going to be widely used. Tags: ColdFusion, newline to break, nl to br Read more articles Previous PostColdFusion Caching Explained Next PostCapitalization for us Mc’s and Mac’s! You Might Also Like Forum is here… August 3, 2009 Read and parse text files with PHP August 3, 2009 Rocking in Hyde Park with Jon Bon Jovi at Hard Rock Calling – 25th June 2011 June 28, 2011 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment. The reCAPTCHA verification period has expired. Please reload the page.