Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / Programming / Evaluation Control /

ToString

FilledSmallSquare ToString[expr] gives a string corresponding to the printed form of expr in OutputForm.

FilledSmallSquare ToString[expr, form] gives the string corresponding to output in the specified form.

FilledSmallSquare ToString supports the same set of options as OpenAppend, with default settings FormatType -> OutputForm, PageWidth -> Infinity, TotalWidth -> Infinity.

FilledSmallSquare ToString uses any relevant definitions given for Format and MakeBoxes.

FilledSmallSquare See Section 2.9.3.

FilledSmallSquare See also: ToBoxes, ToExpression, HoldForm, WriteString, SymbolName.

FilledSmallSquare New in Version 1; modified in 3.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.