title: How can I write a newline in a string in ColdFusion?
body: <p>Currently I'm putting newlines in strings through one of these two methods:</p>
  
  <pre><code>&lt;cfset someStr="This is line 1" &amp; Chr(10) &amp; "This is line 2" &amp; Chr(10) &amp; "This is line 3" /&gt;
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>&lt;cfset NL=Chr(10) /&gt;
  &lt;cfset someStr="This is line 1#NL#This is line 2#NL#This is line 3" /&gt;
  </code></pre>
  
  <p>Is there anything more like the Java/C++ way?  Something more like this I mean:</p>
  
  <pre><code>&lt;cfset someStr="This is line 1\nThis is line 2\nThis is line 3" /&gt;
  </code></pre>