[Solved] How to create object from its name using a string variable?

I try to create an object from its name by using a scene text variable, but it does not work.
Am I missing something?

the scene variable is “Enemy1”, I type in “ToString(Variable(Enemy1))” but it gives me “0”.

solved: I have to use “variablestring()” instead of “tostring()”