stristr()

Finds a matching string (case-insensitive)

Synopsis:

#include "asr/mod_types.h"
 
char* stristr(const char *string, const char *find, int opt_len)

Arguments:

string

The string to search within.

find

The string to search for.

opt_len

The maximum length of string to search.

Library:

libasr

Description:

The stristr() function performs a case-insensitive search for find in string. In other words, this is a case-insensitive version of the standard POSIX strstr() function.

Returns:

The search string on success; NULL on error.