format(template: utf8) → utf8
Category: [strings](builtinsstrings)_
Substitute trailing arguments into a template's {} placeholders ({{/}} are literal braces).
| Parameter | Type | Description | Remarks |
|---|---|---|---|
| template | utf8 | Template string with {} placeholders. | — |
| returns | utf8 | The template with placeholders substituted. | — |
wcl
format("{} = {}", "x", 42) // substitute the args into the {} slots → "x = 42"