+ 1
How to search for a specific keyword in a string in C?
Which is the best method for searching a keyword in a given string in C? For example searching "abc" in aabbabc...
1 Réponse
+ 3
You can use `find` method of the string class if you are using C++ string.
https://en.cppreference.com/w/cpp/string/basic_string/find