Strstr
- Politechnika Śląska
- Fundamentals of Computer Programming
Strstr char *strstr(const char *s1, const char *s2); strstr scans s1 for the first occurrence of the substring s2 On success, strstr returns a pointer to the element in s1 where s2 begins (points to s2 in s1) If s2 does not occur in s1, st...