Wolfram: String Template (format)

By Xah Lee. Date: . Last updated: .
StringTemplate[template][args]

Returns a string, with placeholders, that are filled by args

template is a string. In this string, the following are special:

StringTemplate

StringTemplate[ "`` plus `` is ``"][1, 2, 3]
(* 1 plus 2 is 3 *)
xx = Association[ "a" -> 1, "b" -> 2, "c" -> 3];
StringTemplate[ "`a` plus `b` is `c`"][ xx ]
(* 1 plus 2 is 3 *)

WolframLang String