TemplateApply
TemplateApply(string, values)renders a
StringTemplateexpression by replacingTemplateSlots with mapped values.
Examples
>> TemplateApply("The quick brown `a` jumps over the lazy `b`.",<|"a" -> "fox", "b" -> "dog"|>)The quick brown fox jumps over the lazy dog.
>> TemplateApply(StringTemplate("The quick brown `a` jumps over the lazy `b`."),<|"a" -> "fox", "b" -> "dog"|>)The quick brown fox jumps over the lazy dog.Related terms
StringTemplate, TemplateIf, TemplateSlot
Implementation status
- ✅ - full supported