CString::SetAt

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.

Syntax

void SetAt( int nIndex, TCHAR ch );

At a Glance

Header File Afx.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CString Overview, CString Member Functions, Simple Value Types, CString::GetAt, CString::operator [ ]