StringForm

WMA link


StringForm[str, $expr_1$, $expr_2$, ...]

displays the string str, replacing placeholders in str with the corresponding expressions.

StringForm replace placeholders `[number]` by the element $expr_{[number]}$.

An empty placeholder `` is replaced by the element that follows the one used in the previous placeholder:

The index of a placeholder must be always a non-negative integer:

and cannot exceed the number of extra parameters:

Backquotes (`) are always interpreted as part of a placeholder:

To use a Backquote as a character, escape it with a backslash:

Elements are formatted according the enclosing context:

SequenceForm
TableForm