This method searches this string for the first match of a substring. The method is overloaded to accept both single characters (similar to the strchr run-time function) and strings (similar to strstr).
| 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 |
int Find( TCHAR ch ) const;
int Find( LPCTSTR lpszSub ) const;
CString::ReverseFind, CString::FindOneOf