Skip to content

StringTemplate

StringTemplate(string)

gives a StringTemplate expression with name string.

Examples

>> StringTemplate("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.

TemplateApply,TemplateIf, TemplateSlot

Implementation status

  • ✅ - full supported

Github