Function trim_if

Synopsis

#include "breeze/text/trim_if.hpp"

template <typename Predicate>
std::string trim_if(std::string const &s, Predicate pred)

Description

Returns
A string obtained from s by removing all the leading and all the trailing characters that satisfy the predicate pred.

Source

Line 30 in breeze/text/trim_if.hpp.