boost::algorithm::erase_range — Erase range algorithm.
// In header: <boost/algorithm/string/erase.hpp> template<typename SequenceT> ( Input, SearchRange);
Remove the given range from the input. The input sequence is modified in-place.
Parameters:
Input
An input sequence
SearchRange
A range in the input to be removed