MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / slice

Method slice

source/core/StarString.cpp:623–627  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

621}
622
623String String::slice(SliceIndex a, SliceIndex b, int i) const {
624 auto wide = wideString();
625 wide = Star::slice(wide, a, b, i);
626 return String(wide.c_str());
627}
628
629void String::append(String const& string) {
630 m_string.append(string.m_string);

Callers

nothing calls this directly

Calls 3

sliceFunction · 0.85
StringClass · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected