PRODUCTS
Mathematica
Mathematica for Students
Mathematica for the Classroom
grid
Mathematica
web
Mathematica
Mathematica Player
(free download)
Mathematica Player Pro
Wolfram
Workbench
Mathematica
Applications
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
FOR USERS
All User Resources
Product Registration
Technical Support
Customer Service
Developer Support
Does My Site Have a License?
Free Seminars
Certified Training
Custom Group Seminars
Documentation & Examples
Tutorial Screencasts
Video Gallery
Demonstrations Project
Education Portal
Student Resources
COMPANY
About Wolfram Research
News & Events
Wolfram Blog
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Wolfram Blog
Mathematica Journal
Wolfram Library Archive
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
Mathematica
>
Notebooks and Documents
>
Layout & Tables
>
Textual Elements in Notebooks
>
Built-in
Mathematica
Symbol
String-Oriented Output Formats
Tutorials »
|
Row
StringJoin
ToString
Message
See Also »
|
Textual Elements in Notebooks
More About »
StringForm
StringForm
["
controlstring
",
expr
1
,
...
]
prints as the text of the
controlstring
, with the printed forms of the
expr
i
embedded.
MORE INFORMATION
`
i
`
in the control string indicates a point at which to print
expr
i
.
``
includes the next
expr
i
not yet printed.
`.`
prints a raw
`
in the output string.
»
You can use
StringForm
to set up "formatted output".
Messages given as values for objects of the form
s
::
t
are used as control strings for
StringForm
.
EXAMPLES
CLOSE ALL
Basic Examples
(3)
Insert a single value into a string:
In[1]:=
Out[1]=
Insert a sequence of values into a string:
In[1]:=
Out[1]=
Insert indexed values:
In[1]:=
Out[1]=
Scope
(4)
Properties & Relations
(1)
Possible Issues
(1)
SEE ALSO
Row
StringJoin
ToString
Message
TUTORIALS
String-Oriented Output Formats
MORE ABOUT
Textual Elements in Notebooks
New in 1 | Last modified in 5
© 2008 Wolfram Research, Inc.