Contents Index Topic Contents | ||
Previous Topic: StrCSpn Next Topic: StrDup |
StrCSpnI
int StrCSpnI( LPCTSTR lpStr, LPCTSTR lpSet );Searches for the first occurrence of a substring within a string. The search method is not case sensitive, and the NULL terminator is included within the search pattern match.
- Returns the index of the first character of the substring within the string if successful, or the length of the string if no match is found.
- lpStr
- Address of the null-terminated source string to be searched.
- lpSet
- Address of the string to search for.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.