Contents Index Topic Contents | ||
Previous Topic: ChrCmpI Next Topic: StrChrI |
StrChr
LPTSTR StrChr( LPCTSTR lpStart, WORD wMatch );Searches a string for the first occurrence of a character that matches the specified character. The comparison is case sensitive.
- Returns the address of the first occurrence of the character in the string if successful, or NULL otherwise.
- lpStart
- Address of the string to be searched.
- wMatch
- Character to be used for comparison.
The comparison assumes lpStart points to the start of a null-terminated string.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.