0

How to replace strings in C++?

I get that C++ is very hard, but I don't why this one confuses me. Is there even a function in C++ that is similar to C#'s Replace() function?

9th May 2020, 6:29 AM
Epsilon ︻╦̵̵͇̿̿̿̿╤──
Epsilon ︻╦̵̵͇̿̿̿̿╤── - avatar
1 Réponse
+ 3
Yes there is a replace() function in C++ in algorithm header, which is used to replace an old value with a new value in the given range of any container, be it string or a vector. Here👇 https://code.sololearn.com/c26aiDuNgMji/?ref=app
9th May 2020, 6:42 AM
Arsenic
Arsenic - avatar