[#absl-SubstituteAndAppend-04]
= xref:absl.adoc[absl]::SubstituteAndAppend
:relfileprefix: ../
:mrdocs:

Substitutes variables into `format` and appends the result to `output`&period;

== Synopsis

Declared in `&lt;absl&sol;strings&sol;substitute&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
SubstituteAndAppend(
    std::string* output,
    std::string&lowbar;view format,
    &sol;&ast; implementation-defined &ast;&sol; const& a0,
    &sol;&ast; implementation-defined &ast;&sol; const& a1,
    &sol;&ast; implementation-defined &ast;&sol; const& a2,
    &sol;&ast; implementation-defined &ast;&sol; const& a3,
    &sol;&ast; implementation-defined &ast;&sol; const& a4,
    &sol;&ast; implementation-defined &ast;&sol; const& a5,
    &sol;&ast; implementation-defined &ast;&sol; const& a6,
    &sol;&ast; implementation-defined &ast;&sol; const& a7);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *output*
| The string that the substituted result is appended to&period;
| *format*
| The format string with `$0`&hyphen;`$9` placeholders&period;
| *a0*
| Substitution argument for `$0`&period;
| *a1*
| Substitution argument for `$1`&period;
| *a2*
| Substitution argument for `$2`&period;
| *a3*
| Substitution argument for `$3`&period;
| *a4*
| Substitution argument for `$4`&period;
| *a5*
| Substitution argument for `$5`&period;
| *a6*
| Substitution argument for `$6`&period;
| *a7*
| Substitution argument for `$7`&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
