Variable Expansion in Strings

5 years ago
Anonymous $L9wC17otzH

https://medium.com/@bkey76/variable-expansion-in-strings-cc92bdab99fd

December 6, 2013, November 6, 2018

A common task in C and C++ is to build a string out of a template string containing variable placeholders, often called format specifiers, and additional data. This article describes several options that are available for solving this problem and introduces two versions of an ExpandVars function as an alternative to those solutions.