Skip to content

Format String

Purpose of the Node

The Format String node takes a template string containing placeholders and replaces them with the actual values provided as inputs. The placeholders are specified in the format {placeholder_name} within the string. Each placeholder is dynamically generated based on the values present in the input string.

Pins

Pin NamePin DescriptionPin TypeValue Type
format_stringInput string containing placeholdersStringMap
placeholder_nameDynamic input pin for each placeholder found in the format_stringStringNormal
formatted_stringFormatted output stringStringMap

The format_string pin is the main input where you provide the string containing placeholders. The node will automatically generate input pins for each placeholder found. When you provide values for these placeholder pins, they will replace the placeholders in the format_string to produce the formatted_string output.