How do you make a string variable

How do you make a string variable for Vexcode IQ? I know there is number variables but not string variables.

I could be mistaken… but I believe you just enter the words into the variable block. I believe that answers the question unless I am mistaken.

Making string variables is impossible in blocks (sadly) but if you are using C++ you can do something like this

string mrString = "this is a string";
1 Like

You also have to type include at the top of the page and using namespace std either that or every time you use string use std::string

Thanks for the information, so I guess I’ll have to convert the project to python (I don’t know c++)

In python you dont need to specifiy what “type” it is so this should work fine :

stringVar = "this is a string"