Setting a variable to a quotation mark


#1

Is there any way to set a variable to a quotation mark?
I’m trying to do something like:

*set test """

because I want to set test to " but I don’t seem to be able to because i get this error:

 Invalid string, open quote with no close quote: "

#2

Mhnn… what do you want to achieve with it?


#3

Great and powerful things, of course. :stuck_out_tongue_winking_eye:


#4

You have to escape the character, so that it doesn’t get read as the closing quote of the string, like this:

*set test "\""


#5

No seriously… what are you trying, as there’s prolly an even easier way


#6

Brilliant, thank you very much!

@MeltingPenguins, I’m trying to solve the problem here: