StrStrIA function

Finds the first occurrence of a substring within a string. The comparison is not case-sensitive.

Syntax

PCSTR StrStrIA(
  PCSTR pszFirst,
  PCSTR pszSrch
);

Parameters

pszFirst

Type: PTSTR

A pointer to the null-terminated string being searched.

pszSrch

Type: PCTSTR

A pointer to the substring to search for.

Return Value

Type: PTSTR

Returns the address of the first occurrence of the matching substring if successful, or NULL otherwise.

Requirements

   
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shlwapi.h
Library Shlwapi.lib
DLL Shlwapi.dll (version 4.71 or later)