Find function of c++

S.find§ what will this search all the letters of S in p and return the starting index in p string where s was found

@AyushKumar9032
hello Ayush,
it will return starting index where string s will be found in string p.

check about it here-> https://www.geeksforgeeks.org/string-find-in-cpp/