Advertisement
zwetan

multiline string

Jan 11th, 2014
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* note:
  2.    enclose your multiline in CDATA
  3.    and type your var as string
  4.    and you will automatically get/call
  5.    the toString() of the XML
  6. */
  7. public var something:String = <![CDATA[
  8. this
  9. is
  10. a
  11. multiline
  12. string
  13. ]]>;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement