You can store a formula inside a special string variable.
Do as follow :
str1 is inside "Vars" menu than choose "String".
Then you can execute the formula with "expr("
You can also do :
expr(str1 -> A
So you have formula and answer :)