|  | Home | Libraries | People | FAQ | More | 
Replace a substring with copies of a character.
string& replace( std::size_t pos, std::size_t count, std::size_t count2, char ch);
            Replaces rcount characters
            starting at index poswith
            count2 copies of ch, where rcount
            is std::min(count, size() - pos).
          
Strong guarantee.
All references, pointers, or iterators referring to contained elements are invalidated. Any past-the-end iterators are also invalidated.
            *this
          
| Name | Description | 
|---|---|
| 
                       | The index to replace at. | 
| 
                       | The number of characters to replace. | 
| 
                       | The number of characters to replace with. | 
| 
                       | The character to replace with. | 
| Type | Thrown On | 
|---|---|
| 
                       | 
                       | 
| 
                       | 
                       |