Skip to main content

ToExpression

ToExpression[input] gives the expression obtained by interpreting strings or boxes as Wolfram Language input. 

ToExpression[input,form] uses interpretation rules corresponding to the specified form.

ToExpression[input,form,h] wraps the head h around the expression produced before evaluating it.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.