[c++] Find out if string ends with another string in C++