Untitled
unknown
plain_text
a year ago
281 B
4
Indexable
bool hasEnding (std::string const &fullString, std::string const &ending) { if (fullString.length() >= ending.length()) { return (0 == fullString.compare (fullString.length() - ending.length(), ending.length(), ending)); } else { return false; } }
Editor is loading...
Leave a Comment