Copy link to clipboard
Copied
I need to pass Flash data to Lectora. Lectora has problem with special characters (e.g. double quotes, single quotes, line break) from Flash.
How do I identify double quotes and change them to something else? I can't do """ with quote inside. It's not acceptable.
Thanks,
you can use backslash to escape any character, or use single quotes to define double quotes and double quotes to define single quotes:
var s:String=yourtextfield.text.split('""').join('whatever');
hint: use the trace statement and a new project to experiment and see how strings/arrays work.
Copy link to clipboard
Copied
you can use backslash to escape any character, or use single quotes to define double quotes and double quotes to define single quotes:
var s:String=yourtextfield.text.split('""').join('whatever');
hint: use the trace statement and a new project to experiment and see how strings/arrays work.