Call this member function to trim trailing white space characters from the string. This function removes trailing new line, space, and tab characters from the string.
void TrimRight( );
| Header File | Afx.h | 
| Platforms | |
| Versions | 1.0 and later | 
| Complete documentation | Visual C++ documentation | 
CString Overview, CString Member Functions, Simple Value Types, CString::TrimLeft, CString::Mid, CString::Left, CString::Right, CString::MakeUpper, CString::MakeLower, CString::MakeReverse, CString::Format