You mean just get rid of the quotes?
Set text to replace(text, """", "")
Set text to "str("&text&")"
Or do you mean just evaluating the formula in a string?
Sounds like you already are utilizing execjs() to run it like a JavaScript expression, but want different syntax with pow and such.
In which case I want to revise my previous reply. I’d recommend writing a parser. Or don’t. Just search for the newest posts by me where I mention parser and use one of those capx.