String prefix and suffix checking
Understand the use of 'starts_with' and 'ends_with' functions with examples.
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.
Get hands-on with 1400+ tech skills courses.