MCPcopy Create free account
hub / github.com/apache/brpc / ReplaceFirstSubstringAfterOffset

Function ReplaceFirstSubstringAfterOffset

src/butil/strings/string_util.cc:532–538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530}
531
532void ReplaceFirstSubstringAfterOffset(string16* str,
533 size_t start_offset,
534 const string16& find_this,
535 const string16& replace_with) {
536 DoReplaceSubstringsAfterOffset(str, start_offset, find_this, replace_with,
537 false); // replace first instance
538}
539
540void ReplaceFirstSubstringAfterOffset(std::string* str,
541 size_t start_offset,

Callers 1

TESTFunction · 0.85

Calls 1

Tested by 1

TESTFunction · 0.68