Is it possible in C++ to replace part of a string with another string?
Basically, I would like to do this:
QString string("hello $name");
string.replace("$name", "Somename");
But I would like to use the Standard C++ libraries.
Is it possible in C++ to replace part of a string with another string?
Basically, I would like to do this:
QString string("hello $name");
string.replace("$name", "Somename");
But I would like to use the Standard C++ libraries.