::: tip API
vformat(formatstring: <string>, ...)
:::
| Parameter | Description |
|---|---|
| formatstring | Format string |
| ... | Variable arguments for formatting |
This interface is followed by format interface is similar, but adds support for the acquisition and escaping of built-in variables.
local s = vformat("hello %s $(mode) $(arch) $(env PATH)", xmake)