CString::GetLength

Call this member function to retrieve a count of the characters in this CString object. The count does not include a null terminator.

Syntax

int GetLength( ) const;

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::IsEmpty