strstr Function (ROM Call 0x279)

string.h

char *strstr (const char *str, const char *substr);

Finds the first occurrence of a substring in another string.

strstr scans str for the first occurrence of the substring substr. strstr returns a pointer to the element in str where substr begins (points to substr in str). If substr does not occur in str, strstr returns NULL.