Workspace 6.21.5
FormatString

Formats a string, taking a template as input and replacing the placeholder elements, defined using the syntax {% placeholderName %} with values from corresponding inputs. The inputs are configured in the properties menu of the operation. Inputs can be supplied as ObjectDictionaries and elements are accessible as placeholders using '.' syntax, e.g. {% placeholderDict.name %}. It is possible to escape the {% and %} character sequences with a single backslash if they are needed verbatim.

  • Default label: "Format string"
  • Member of plug-in: Built-in
  • Catalogue path: Builtin
Inputs:
Template stringQStringA template string containing placeholder elements, defined with the syntax {% placeholder %}. Placeholders will be substituted from named inputs that can be defined in the operation's properties widget. ObjectDictionaries can be supplied and are referenced using dot syntax, for example {% dict.placeholder %}
Array join tokenQString

The token to use when joining together named InputArrays.

Outputs:
StringQString