Contents Index Topic Contents | ||
Previous Topic: StrPBrk Next Topic: StrRStrI |
StrRChr
LPTSTR StrRChr( LPCTSTR lpStart, LPCTSTR lpEnd, WORD wMatch );Searches a string for the last occurrence of a character that matches the specified character. The comparison is case sensitive.
- Returns the address of the last occurrence of the character in the string if successful, or NULL otherwise.
- lpStart
- Address of the string to be searched.
- lpEnd
- Points to the end of the string to be searched. The character at this location in the buffer is not included in the search.
- wMatch
- Character to be used for comparison.
The comparison assumes that lpEnd points to the end of the string.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.