int FindOneOf( LPCTSTR lpszCharSet ) const;
Return Value
The zero-based index of the first character in this string that is also in lpszCharSet; –1 if there is no match.
Parameters
lpszCharSet
String containing characters for matching.
Remarks
Searches this string for the first character that matches any character contained in lpszCharSet.
Example
The following example demonstrates the use of CString::FindOneOf.
// example for CString::FindOneOf
CString s( "abcdef" );
ASSERT( s.FindOneOf( "xd" ) == 3 ); // 'd' is first match
CString Overview | Class Members | Hierarchy Chart
See Also CString::Find