Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davidgiven/fluxengine
/ leftTrimWhitespace
Function
leftTrimWhitespace
lib/core/utils.cc:93–97 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
91
}
92
93
std::string leftTrimWhitespace(std::string value)
94
{
95
value.erase(0, value.find_first_not_of(WHITESPACE));
96
return value;
97
}
98
99
std::string rightTrimWhitespace(std::string value)
100
{
Callers
2
trimWhitespace
Function · 0.85
testLeftTrim
Function · 0.85
Calls
1
erase
Method · 0.45
Tested by
no test coverage detected