/** * Replace characters in a string at a specificed position with specificed character string. */ void string_replace_cstr(string_t* pstr_string, size_t t_pos, size_t t_len, const char* s_cstr) { _basic_string_pop_back(pstr_string); basic_string_replace_cstr(pstr_string, t_pos, t_len, s_cstr); basic_string_push_back(pstr_string, '\0'); }
/** * Replace characters in a string at a specificed position with specificed character string. */ void string_replace_cstr(string_t* pstr_string, size_t t_pos, size_t t_len, const char* s_cstr) { basic_string_replace_cstr(pstr_string, t_pos, t_len, s_cstr); }