SDDSlib
|
Implementation of the str_in function. More...
#include "mdb.h"
#include <ctype.h>
Go to the source code of this file.
Functions | |
char * | str_in (char *s, char *t) |
Finds the first occurrence of the substring t in the string s . | |
Implementation of the str_in function.
Definition in file str_in.c.
char * str_in | ( | char * | s, |
char * | t ) |
Finds the first occurrence of the substring t
in the string s
.
This function searches for the substring t
within the string s
and returns a pointer to the first occurrence of t
. If t
is not found, the function returns NULL
.
s | The string to be searched. |
t | The substring to search for within s . |
t
in s
, or NULL
if t
is not found. Definition at line 29 of file str_in.c.