Function ndpi_strncasestr

Function Documentation

const char *ndpi_strncasestr(const char *s, const char *find, size_t slen)

Same as ndpi_strnstr but case insensitive

s = string to parse

find = string to match with -s-

slen = max length to match between -s- and -find-

Returns:

a pointer to the beginning of the located substring; NULL if the substring is not found