In python I was able to slice part of a string; in other words just print the characters after a certain position. Is there an equivalent to this in C++?
Python Code
You can do something like this using the string class:
std::string text = "Apple Pear Orange"; size_t pos = text.find('Pear');