Call this member function to overwrite a single character specified by an index number. SetAt will not enlarge the string if the index exceeds the bounds of the existing string.
void SetAt( int nIndex, TCHAR ch );
Header File | Afx.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CString Overview, CString Member Functions, Simple Value Types, CString::GetAt, CString::operator [ ]