Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
463
String String::trim(String const& pattern) const {
464
return trimEnd(pattern).trimBeg(pattern);
465
}
466
467
size_t String::find(Char c, size_t pos, CaseSensitivity cs) const {
468
auto it = begin();
Callers
1
trimAll
Method · 0.45
Calls
1
trimBeg
Method · 0.80
Tested by
no test coverage detected