0

For example in C# @-quoted string literals start with @ and are enclosed in double quotation marks...

So Is there anething like @-quoted string in Actionscript?

1
  • Not as far as I know. You can use double quotes easy enough within single quotes to delimit a string(e.g. '"Ahoy!" cried the captain.') if it helps. Commented May 21, 2010 at 20:50

1 Answer 1

5

If this is AS3 then you may get somewhere by declaring your literal as an XML CDATA section and then reading it back as a string. Others have posted this on SO, to allow multiline strings in AS3. Here's a web link about it:

http://dougmccune.com/blog/2007/05/15/multi-line-strings-in-actionscript-3

HTH

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.