absl::SubstituteAndAppend

Substitutes variables into format and appends the result to output.

Synopsis

Declared in <absl/strings/substitute.h>

void
SubstituteAndAppend(
    std::string* output,
    std::string_view format);

Parameters

NameDescription
outputThe string that the substituted result is appended to.
formatThe format string with $0-$9 placeholders.