jeudi 4 juin 2015

Replace a substring in C++

I have to replace a substring by another substring of different length in C++.

I am trying to use find() and replace() functions but can it be done ? Can a substring be replaced by another substring of different length and the string be still fine ?

Aucun commentaire:

Enregistrer un commentaire