String prefix and suffix checking
Understand the use of 'starts_with' and 'ends_with' functions with examples.
We'll cover the following...
We'll cover the following...
std::string gets new member functions starts_with and ends_with. They allow you to check if a std::string starts or ends with a specified substring.