String Handling Tasks

OverviewDetails

Use MFC class rather than the run-time library string functions in most of your MFC programming.

For related information about working with strings, see String Manipulation in the Run-Time Library Reference and in the Win32 Programmer's Reference.

The following categories of tasks are listed in this topic:

What do you want to do?

Basic CString Tasks

CString Operations Relating to C-Style Strings

CString Argument Passing

Unicode and Multibyte Character Set (MBCS) Support in CString

CString Exception Cleanup