How to set the value of a string variable to the variable name of another variable?

I want to use this operation to directly create the strings in the table as variables, because the table can be changed randomly.