Replace substring with other string
The original string (str) will be changed after calling this function, so if you need it make a copy of it.
URL: http://www.linuxquestions.org/questions/programming-9/replace-a-substring-with-another-string-in-c-170076/
Report this snippet
Comments
Subscribe to comments