Function template replace_range
boost::algorithm::replace_range — Replace range algorithm.
Synopsis
template<typename SequenceT, typename CollectionT>
void replace_range(SequenceT & Input,
const iterator_range< typename iterator_of< SequenceT >::type > & SearchRange,
const CollectionT & Format);
Description
Replace the given range in the input string. The input sequence is modified in-place.
Parameters
- Format
A substitute string
- Input
An input string
- SearchRange
A range in the input to be substituted