strformat
Strformat is a string formatting operation used in programming to produce a new string by substituting placeholders in a template with the values of provided expressions. The function is often called strformat or similar, and may be implemented as a function or method. It is distinct from simple concatenation and typically supports type conversion and formatting directives.
Most implementations use a format string with placeholders. Placeholder syntax varies: positional indices like {0}, {1};
Examples: many languages have analogous constructs. In Python, "Hello, {0}".format("Alice") yields "Hello, Alice". In other ecosystems,
See also: string interpolation, printf, format strings. History: fusing placeholders with format specifiers has deep roots