string (1) | string& replace (size_t pos, size_t len, const string& str);string& replace (iterator i1, iterator i2, const string& str); |
---|---|
substring (2) | string& replace (size_t pos, size_t len, const string& str, size_t subpos, size_t sublen); |
c-string (3) | string& replace (size_t pos, size_t len, const char* s);string& replace (iterator i1, iterator i2, const char* s); |
buffer (4) | string& replace (size_t pos, size_t len, const char* s, size_t n);string& replace (iterator i1, iterator i2, const char* s, size_t n); |
fill (5) | string& replace (size_t pos, size_t len, size_t n, char c);string& replace (iterator i1, iterator i2, size_t n, char c); |
range (6) | template <class InputIterator> string& replace (iterator i1, iterator i2, InputIterator first, InputIterator last); |
string (1) | string& replace (size_t pos, size_t len, const string& str);string& replace (const_iterator i1, const_iterator i2, const string& str); |
---|---|
substring (2) | string& replace (size_t pos, size_t len, const string& str, size_t subpos, size_t sublen); |
c-string (3) | string& replace (size_t pos, size_t len, const char* s);string& replace (const_iterator i1, const_iterator i2, const char* s); |
buffer (4) | string& replace (size_t pos, size_t len, const char* s, size_t n);string& replace (const_iterator i1, const_iterator i2, const char* s, size_t n); |
fill (5) | string& replace (size_t pos, size_t len, size_t n, char c);string& replace (const_iterator i1, const_iterator i2, size_t n, char c); |
range (6) | template <class InputIterator> string& replace (const_iterator i1, const_iterator i2, InputIterator first, InputIterator last); |
initializer list (7) | string& replace (const_iterator i1, const_iterator i2, initializer_list<char> il); |
string (1) | string& replace (size_t pos, size_t len, const string& str);string& replace (const_iterator i1, const_iterator i2, const string& str); |
---|---|
substring (2) | string& replace (size_t pos, size_t len, const string& str, size_t subpos, size_t sublen = npos); |
c-string (3) | string& replace (size_t pos, size_t len, const char* s);string& replace (const_iterator i1, const_iterator i2, const char* s); |
buffer (4) | string& replace (size_t pos, size_t len, const char* s, size_t n);string& replace (const_iterator i1, const_iterator i2, const char* s, size_t n); |
fill (5) | string& replace (size_t pos, size_t len, size_t n, char c);string& replace (const_iterator i1, const_iterator i2, size_t n, char c); |
range (6) | template <class InputIterator> string& replace (const_iterator i1, const_iterator i2, InputIterator first, InputIterator last); |
initializer list (7) | string& replace (const_iterator i1, const_iterator i2, initializer_list<char> il); |
|
|
replace is useful. |