CString::SetAt

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.

At a Glance

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

Syntax

void SetAt( int nIndex, TCHAR ch );

See Also

CString::GetAt, CString::operator [ ]