Erase the substring in the half-open range [first, last)].
Return an iterator providing modifiable access to the character at the last position prior to erasing. If no such character exists, return end(). This method invalidates existing iterators pointing to first or a subsequent position. The behavior is undefined unless first and last are both within the range [cbegin() .. cend()] and `first <= last`.
iterator following the last removed character
| Name | Description |
|---|---|
| first | beginning of the range to erase |
| last | end of the range to erase |