TemplateApply
Доступно
Fills the slots of a template string.
TemplateApply[template]
TemplateApply[template, args]
TemplateApply["x = `x`", <|"x" -> 1|>]
→ x = 1TemplateApply[StringTemplate["Hello, my name is ``."], {"Bob"}]
→ Hello, my name is Bob.TemplateApply["x <*2^3*> y"]
→ x 8 yTemplateApply[{a, TemplateSequence[b, {1, 2, 3}], c}]
→ {a, b, b, b, c}TemplateApply[{a, TemplateIf[False, x, y], c}]
→ {a, y, c} Усі 6300 функцій ·
Використати з MCP-клієнта