📅  最后修改于: 2022-03-11 14:44:46.912000             🧑  作者: Mango
string x = "Iron Man";
x.erase(start,length);
cout << x;
// start represent from which position we try to delete
// length rerensent the length we try to delete from the start position.