H
herman
How can I replace all occurrences of a character with another
character in std string?
For example, I want to replace '/' with '+' in my std::string
I have looked at the replace() method in the string class, it does not
replace all occurrences of a character with another character.
http://www.cppreference.com/cppstring/index.html
Thank you
character in std string?
For example, I want to replace '/' with '+' in my std::string
I have looked at the replace() method in the string class, it does not
replace all occurrences of a character with another character.
http://www.cppreference.com/cppstring/index.html
Thank you