Skip to content

String Format

Format a string using the provided format string.

The format string uses placeholders %v for its inputs, which are replaced by the input strings. For example, the format string Hello %v, welcome to %v with inputs Alice and Wonderland will result in Hello Alice, welcome to Wonderland. If the input is empty, the placeholder is replaced by an empty string.

Inputs#

Port Description
Format String
The format string with placeholders.
The input strings to replace the placeholders.

Outputs#

Port Description
Result
Formatted String

ID: core/string-fmt@v1