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

Method trim

source/core/StarString.cpp:463–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461}
462
463String String::trim(String const& pattern) const {
464 return trimEnd(pattern).trimBeg(pattern);
465}
466
467size_t String::find(Char c, size_t pos, CaseSensitivity cs) const {
468 auto it = begin();

Callers 1

trimAllMethod · 0.45

Calls 1

trimBegMethod · 0.80

Tested by

no test coverage detected