MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / remove

Function remove

library/strings.cpp:68–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68UString remove(const UStringView str, size_t offset, size_t count)
69{
70 auto u32str = to_u32string(str);
71
72 u32str.erase(offset, count);
73
74 return to_ustring(u32str);
75}
76
77U32String remove(const U32StringView str, size_t offset, size_t count)
78{

Callers 4

removeFromMapMethod · 0.85
eventOccuredMethod · 0.85
test_removeFunction · 0.85

Calls 2

to_u32stringFunction · 0.85
to_ustringFunction · 0.85

Tested by 2

test_removeFunction · 0.68