Function trim_tail_if
Synopsis
#include "breeze/text/trim_tail_if.hpp"
template <typename Predicate>
std::string trim_tail_if(std::string const &s, Predicate pred)
Description
- Returns
- A string obtained from
s
by removing all the trailing characters that satisfy the predicatepred
.
Source
Line 30 in breeze/text/trim_tail_if.hpp.