Skip to main content

Overview

This node formats text using Python’s string format method. It works like a template where you define a text pattern with placeholders, and then provide values to fill those placeholders. It supports all of Python’s format options and features.

Inputs

ParameterDescriptionData TypeRequiredRange
f_stringThe format string template with placeholders (default: {a}). Supports multiline input.STRINGYesN/A
valuesDynamic input for providing values to fill placeholders in the format string. Multiple value inputs can be added as needed.STRINGYesN/A
Note on values input: This input is dynamic and can be expanded to include multiple named values. Each value input is labeled with a letter (a, b, c, etc.) and corresponds to a placeholder in the format string (e.g., {a}, {b}, {c}). You can add or remove value inputs as needed.

Outputs

Output NameDescriptionData Type
STRINGThe formatted text string with all placeholders replaced by their corresponding values.STRING
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 72625287533829a8087687bb47f39bc265aced3d5f43066f615326d729725122