StrChrI function
Searches a string for the first occurrence of a character that matches the specified character. The comparison is not case-sensitive.
Syntax
PTSTR StrChrI( _In_ PTSTR pszStart, TCHAR wMatch );
Parameters
- pszStart [in]
-
Type: PTSTR
A pointer to the string to be searched.
- wMatch
-
Type: TCHAR
The character to be used for comparison.
Return value
Type: PTSTR
Returns the address of the first occurrence of the character in the string if successful, or NULL otherwise.
Remarks
The comparison assumes pszStart points to the start of a null-terminated string.
Requirements
|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names |
StrChrIW (Unicode) and StrChrIA (ANSI) |