Hey there, I am working with strings that need to retain the details of line returns as they were typed in and also characters such as speech marks (they will contain ascii art). I have looked at using the escape function but this doesn’t seem to work–
ActionScript Code:
[FONT=Courier New][LEFT][COLOR=#000000]var[/COLOR] myString:[COLOR=#0000ff]String[/COLOR] = escapeCOLOR=#000000( ----
()) _
())
())/----
Thumbs Up "[/COLOR][COLOR=#000000])[/COLOR];
[/LEFT]
[/FONT]
I’m sure there’s an easy way to do this without writing loads of conditions for checking the string and converting each character.
If anyone could point me in the right direction It would be a big help.
Thanks!
Schm