I’ve been trying to add quotation marks to a variable for the past hour or so, but I haven’t been having much luck. Basically, here is what I am hoping to create:
blarg = W71; temp = magic code that I can't figure out trace(temp); // displays "W71"
I stumbled on a previous case of this issue: http://www.kirupa.com/forum/showthread.php?t=66888&highlight=quotation, but that method didn’t work for variables when I tried it. Adding a + symbol before and after blarg gave me an error.
Does anyone know of a simple way to incorporate quotation marks around my variable?