Possible Duplicate:
How to find and replace string?
How I can get function like:
string gg="13332";
gg.replace("333","");//gg="12"
? I can't find anything at standart library. EDIT: my function:
     bool isDalshe=false;
         do{
             isDalshe=false;
         for(int i=0;i<10;i++){
             for(int j=3;j<9;j++){
                 found=sk.find(mas[i][j].ch);
                 if(found!= std::string::npos){
                 glob_c+=mas[i][j].i;
                 cout<<"Found: "<<int(found)<<endl;
//In this place I need to replace "mas[i][j].ch" with "" in sk
                 isDalshe=true;
                 }
             }}
         }
         while(isDalshe);