ToExpression

WMA link


ToExpression[input]

interprets a given string as Mathics input.

ToExpression[input, form]

reads the given input in the specified form.

ToExpression[input, form, h]

applies the head h to the expression before evaluating it.

Note that newlines are like semicolons, not blanks. So so the return value is the second-line value.

$SystemCharacterEncoding
ToString