Mathematica > Notebooks and Documents > Layout & Tables > Textual Elements in Notebooks >

StringForm

StringForm["controlstring", expr1, ...]
prints as the text of the controlstring, with the printed forms of the expri embedded.
  • `i` in the control string indicates a point at which to print expri.
  • `` includes the next expri 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.
New in 1 | Last modified in 5
© 2008 Wolfram Research, Inc.
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team