types::str rstrip(types::str const &self, types::str const &to_del) { return {self.begin(), self.begin() + self.find_last_not_of(to_del) + 1}; }