WLJS LogoWLJS Notebook

StringForm

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

Examples

Format a string:

StringForm["The value is ``.", 42]
(* "The value is 42." *)

Multiple placeholders:

StringForm["`` + `` = ``", 2, 3, 5]
(* "2 + 3 = 5" *)

Please visit the official Wolfram Language Reference for more details.

On this page