擦去字符串

s.erase(i,n);   //将string数组由位标i→i+n清除。i+1

原文地址:https://www.cnblogs.com/noip/p/2582060.html