Skip to main content
Known Participant
May 19, 2008
Question

Escape Quotes

  • May 19, 2008
  • 3 replies
  • 311 views
Hello, world!

I've been searching the internet, and haven't found a solution to escaping quotes in a string. How could one accomplish this in ActionScript 2.0?

Help much appreciated.

Thanks
This topic has been closed for replies.

3 replies

nonybdAuthor
Known Participant
May 22, 2008
I was aware of the escape character, but I was looking for a function that escapes a string for you. But, I did find a bit of code on the internet to escape quotes.

Thanks all :)
clbeech
Inspiring
May 19, 2008
that is correct - proceed the quote mark " with the backslash character.
Inspiring
May 19, 2008
Hi - I don't know much about flash yet, but I do know that the quote escape in a string is \". Same as \n, \r etc.