Make use of std::string#back()