Primitive
string.format
BETAShort name: format
Version: 1.0.0
Substitute {{key}} placeholders in a template with values from a provided object.
Back to primitive libraryInputs
| Key | Type | Required | Description |
|---|---|---|---|
| template | string | true | Template text containing {{key}} placeholders. |
| values | object | true | Placeholder lookup object where each key maps to a string, number, boolean, or null. |
Outputs
| Key | Type | Required | Description |
|---|---|---|---|
| result | string | false | Formatted text with all placeholders substituted. |