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