Boxes may be represented as expressions or as strings. How can I convert between the two forms? In particular, how can I convert from the string representation to the expression representation?
Example string representation:
"For all \!\(\*FormBox[\(x > 0\),TraditionalForm]\) there is an \!\(\*FormBox[\(y \[Element] \[DoubleStruckCapitalR]\),TraditionalForm]\) such that \!\(\*FormBox[\(\*SuperscriptBox[\(y\), \(2\)] = x\),TraditionalForm]\)."
Example expression representation:
RowBox[{"For", " ", "all", " ",
FormBox[
RowBox[{"x", ">", "0"}],
TraditionalForm], " ", "there", " ", "is", " ", "an", " ",
FormBox[
RowBox[{"y", "\[Element]", "\[DoubleStruckCapitalR]"}],
TraditionalForm], " ", "such", " ", "that", " ",
FormBox[
RowBox[{
SuperscriptBox["y", "2"], "=", "x"}],
TraditionalForm]}]
ResourceFunction["StringToBoxes"]
converts the linear syntax to boxes, of course, Leonid's answer worked for this already... $\endgroup$ – Tanner Legvold Jan 4 at 22:16