bsl::basic_string<char>::erase

Erase a character at the specified position from this string, and return an iterator providing modifiable access to the character at position prior to erasing. If no such character exists, return end(). The behavior is undefined unless position is within the half-open range [cbegin() .. cend())].

Synopsis

Declared in <bslstl_string.h>

iterator
erase(const_iterator position);