Skip to main content
Inspiring
September 6, 2006
Answered

having " displayed in a textbox via actionscript

  • September 6, 2006
  • 2 replies
  • 211 views
Easy one.

I've forgotton how you display the quotation marks (") in a textbox via actionscript

eg

this.textbox.text = "John said, "Hello I'm John". John was a very simple boy.";

is incorrect.

How do I get AS to recognise the "Hello I'm John" as a part of the sentence rather than it thinking it is a part of a string.

I've had a quick look in LiveDocs but couldnt find it

Thanks in advance.
This topic has been closed for replies.
Correct answer Craig Grummitt
it's called 'escaping' a character

2 replies

Inspiring
September 6, 2006
Thanks Craig,

you're a legend.
Craig Grummitt
Craig GrummittCorrect answer
Inspiring
September 6, 2006