|
SOLUTIONS
|
Search for all pages containing ToString
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.
Details and OptionsDetails and Options
- 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. »
ExamplesExamplesopen allclose all
Basic Examples (2)Basic Examples (2)
Give a string corresponding to the OutputForm of
:
| In[1]:= |
| Out[1]= |
| In[2]:= |
| Out[2]= |
Give a string corresponding to the InputForm:
| In[1]:= |
| Out[1]= |
New in 1 | Last modified in 3
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
