This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Input and Output / Formatting Functions /

StringForm

FilledSmallSquare StringForm["controlstring", , ... ] prints as the text of the controlstring, with the printed forms of the embedded.

FilledSmallSquare `i` in the control string indicates a point at which to print .

FilledSmallSquare `` includes the next not yet printed.

FilledSmallSquare `.` prints a raw ` in the output string.

FilledSmallSquare StringForm acts as a "wrapper", which affects printing, but not evaluation.

FilledSmallSquare You can use StringForm to set up "formatted output".

FilledSmallSquare Messages given as values for objects of the form s::t are used as control strings for StringForm.

FilledSmallSquare See Section 2.9.6.

FilledSmallSquare See also: SequenceForm, ToString, Message.

FilledSmallSquare New in Version 1; modified in 5.0.