Contents Index Topic Contents | ||
Previous Topic: StrSpn Next Topic: StrStrI |
StrStr
LPTSTR StrStr( LPCTSTR lpFirst, LPCTSTR lpSrch );Finds the first occurrence of a substring within a string. The comparison is case sensitive.
- Returns the address of the first occurrence of the matching substring if successful, or NULL otherwise.
- lpFirst
- Address of the string being searched.
- lpSrch
- Substring to search for.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.