In this article, we’ll take a look at using the strstr() function in C / C++.

The strstr() function is very useful if you want to find out whether one string is a sub-string of another. It also gives us the pointer to the first match!

Due to this convenience, strstr() is used somewhat frequently in C, since it is a part of the C standard.

#c programming #cplusplus #csharp #c

A Guide to using strstr() in C/C++
1.35 GEEK