#include <stdlib.h>
#include <string.h>
#include <ctype.h>
Go to the source code of this file.
Functions | |
char * | strcasestr (const char *haystack, const char *needle) |
Locatea substring into a string, ignoring case. More... | |
char* strcasestr | ( | const char * | haystack, |
const char * | needle | ||
) |
Locatea substring into a string, ignoring case.
haystack | The string to search in. |
needle | The substring to find. |
This function locates the string needle
into the string haystack
, ignoring the case of the characters. It returns apointer to the beginning of the substring, or NULL if the substring is not found. If haystack
or needle
are NULL
, this function returns NULL
.
Conformity: Non applicable.
Supported OS: Windows XP, Windows CE
Definition at line 43 of file strcasestr.cpp.