Call this member function to search this string for the first match of a substring. The function is overloaded to accept both single characters (similar to the run-time function strchr) and strings (similar to strstr).
int Find( TCHAR ch ) const;
int Find( LPCTSTR lpszSub ) const;
Header File | Afx.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CString Overview, CString Member Functions, Simple Value Types, CString::ReverseFind, CString::FindOneOf