[#util-ReplaceAll]
= xref:util.adoc[util]::ReplaceAll
:relfileprefix: ../
:mrdocs:

Replace every occurrence of a substring in place&period;

== Synopsis

Declared in `&lt;util&sol;string&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
ReplaceAll(
    std::string& in&lowbar;out,
    std::string const& search,
    std::string const& substitute);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *in&lowbar;out*
| String modified in place&period;
| *search*
| Substring to look for&period;
| *substitute*
| Replacement inserted for each match&period;
|===


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