Suppose I have the following:
std::string some_string = "2009-06-27 17:44:59.027";
The question is: Give code that will replace all instances of "-" and ":" in some_string with a space i.e. " "
I'm looking for a simple one liner (if at all possible)
Boost can be used.