Powered byCoderTown
Just some samples about substring replacement:
// To replace "text1" by "text2222" size_t pos; while((pos = s.find("text1")) != string::npos) s.replace(pos, 5, "text2222", 8);
Created: 2004-09-20Updated: 2004-09-20
Comments? Errors?