int CString::Remove( TCHAR ch );
The count of characters removed from the string. Zero if the string isn't changed.
The character to be removed from a string.
Call this member function to remove instances of ch from the string. Comparisons for the character are case-sensitive.
//remove the lower-case letter 't' from a sentence: CString str("This is a test."); int n = str.Remove('t'); ASSERT(n == 2); ASSERT(str == "This is a es.");
See Also CString::Replace