Avoiding escape sequence processing in ActionScript?
I need to mimic C# functionality of the @ symbol when it precedes a string.
@"C:\A\File\Path"开发者_开发问答 for example
What is the best way to do this? Also there are some sites that will escape larger strings for you so that they survive the processing but I could not find one for Actionscript.
Help?
No, unfortunately there is no support for verbatim string literals in actionscript. You are going to have to escape them manually. Even calling string.replace("\", "\\") doesn't work.
精彩评论