Posted By

tuffstudio on 10/27/12


Tagged


Versions (?)

multi-line text


 / Published in: JavaScript
 

prints:

this is my multi-line text

note If you want to support special XML chars, you can use a CDATA section:

<><![CDATA[

hello

]]></>.toString();

  1. var text = <>
  2. this
  3. is
  4. my
  5. multi-line
  6. text
  7. </>.toString();
  8. Print(text);

Report this snippet  

You need to login to post a comment.