|
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.
ToString supports the same set of options as OpenAppend, with default settings FormatType -> OutputForm, PageWidth -> Infinity, TotalWidth -> Infinity.
ToString uses any relevant definitions given for Format and MakeBoxes.
See Section 2.9.3.
See also: ToBoxes, ToExpression, HoldForm, WriteString, SymbolName.
New in Version 1; modified in 3.
Further Examples
|