Legacy Documentation
Mathematica 9 (2012)
This is documentation for Mathematica 9, which was
based on an earlier version of Wolfram Language.
View current documentation (Version 15.0)based on an earlier version of Wolfram Language.
BUILT-IN MATHEMATICA SYMBOL
ToString
ToString[expr]
gives a string corresponding to the printed form of expr in OutputForm.
ToString[expr, form]
gives the string corresponding to output in the specified form.
New in 1 | Last modified in 3