[#absl-Substitute-009] = xref:absl.adoc[absl]::Substitute :relfileprefix: ../ :mrdocs: Substitutes variables into `format` and returns the result. == Synopsis Declared in `<absl/strings/substitute.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] std::string Substitute(std::string_view format); ---- == Return Value The formatted string. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *format* | The format string with `$0`‐`$9` placeholders. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#