WolframLang: Format String
work in progressStringTemplate[template][args]
-
Returns a string, with placeholders, that are filled by args
template is a string. In this string, the following are special:
``
→ a placeholder.`name`
→ a named placeholder. (used when the args is Association (Key Value List) )
StringTemplate[ "`` plus `` is ``"][1, 2, 3] (* 1 plus 2 is 3 *)
StringTemplate[ "`a` plus `b` is `c`"][<|"a" -> 1, "b" -> 2, "c" -> 3|>] (* 1 plus 2 is 3 *)
WolframLang String
- WolframLang: String
- WolframLang: String Functions
- WolframLang: Get SubString
- WolframLang: Convert String
- WolframLang: Format String
- WolframLang: String Match
- WolframLang: String Replace
- WolframLang: Regular Expression
- WolframLang: String Expression
- WolframLang: StringExpression Pattern Syntax
- WolframLang: RegularExpression vs StringExpression