std::string syten::stripEnd | ( | std::string const & | a, |
std::string const & | to_strip | ||
) |
Strips all occurences of to_strip
from the end of a
, if possible.
a | input string |
to_strip | string to remove from the end of a |
a
with to_strip
removed at the end, if possible. References std::string::size(), and std::string::substr().
Referenced by do_apply_op().