find substring in string c 2b 2b

Solutions on MaxInterview for find substring in string c 2b 2b by the best coders in the world

showing results for - "find substring in string c 2b 2b"
Giacomo
28 Apr 2018
1std::string parentstring = "Hello Agnosticdev, I love Tutorials";
2std::string substring = "Agnosticdev";
3auto index = parentstring.find(substring);