/** * Replace characters in a string at a specificed range with specificed string. */ void string_range_replace( string_t* pstr_string, string_iterator_t it_begin, string_iterator_t it_end, const string_t* cpstr_replace) { _basic_string_pop_back((string_t*)cpstr_replace); basic_string_range_replace(pstr_string, it_begin, it_end, cpstr_replace); basic_string_push_back((string_t*)cpstr_replace, '\0'); }
/** * Replace characters in a string at a specificed range with specificed string. */ void string_range_replace( string_t* pstr_string, string_iterator_t it_begin, string_iterator_t it_end, const string_t* cpstr_replace) { basic_string_range_replace(pstr_string, it_begin, it_end, cpstr_replace); }