format(template: utf8) → utf8

Category: [strings](builtinsstrings)_

Substitute trailing arguments into a template's {} placeholders ({{/}} are literal braces).

ParameterTypeDescriptionRemarks
templateutf8Template string with {} placeholders.
returnsutf8The template with placeholders substituted.
wcl
format("{} = {}", "x", 42)   // substitute the args into the {} slots → "x = 42"