I\'m trying to do something very simple and yet, after an hour of so of searching a I can\'t find a suitable answer so I must be missing something fairly obvious.
I\
See also boost::format:
#include std::string var = (boost::format("somtext %s sometext %s") % somevar % somevar).str();