31 size_t i = input.find(gone,0);
32 while(i!=string::npos) {
34 input.replace(i,gone.size(),it);
35 i = input.find(gone,i+(multiple ? 0 : it.size()));
static std::string const input
static int replace(std::string &input, const std::string &gone, const std::string &it, bool multiple)