Remove
Remove instances of the input char from the string. Comparisons for the character are case-sensitive.
int Remove( char ch )
The count of characters removed from the string. Zero if the string isn't changed.
EX1
void string_Remove_ex1() { string str("apple"); int nRet = str.Remove('p'); out_int("", nRet);//2 out_str(str);//"ale" }
string::Replace
origin.h