This method overwrites a single character specified by an index number. SetAt will not enlarge the string if the index exceeds the bounds of the existing string.
Header file: | Afx.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
void SetAt( int nIndex, TCHAR ch );
CString::GetAt, CString::operator [ ]