Substrings Defined by start and length s1.substr(0, 5) first five character substring std::string s = "hello, how are you?"; std::cout << s.substr(7, 3) << '\n'; Returns a newly created std::string