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

Method rsplit

source/core/StarString.cpp:315–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315StringList String::rsplit(Char c, size_t maxSplit) const {
316 return rsplitAny(String(c), maxSplit);
317}
318
319StringList String::rsplit(String const& pattern, size_t maxSplit) const {
320 // This is really inefficient!

Callers 2

PlayerStorageMethod · 0.80

Calls 4

StringClass · 0.85
reverseFunction · 0.70
reverseMethod · 0.45
splitMethod · 0.45

Tested by

no test coverage detected