Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davidgiven/fluxengine
/ rightTrimWhitespace
Function
rightTrimWhitespace
lib/core/utils.cc:99–103 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
97
}
98
99
std::string rightTrimWhitespace(std::string value)
100
{
101
value.erase(value.find_last_not_of(WHITESPACE) + 1);
102
return value;
103
}
104
105
std::string trimWhitespace(const std::string& value)
106
{
Callers
4
trimWhitespace
Function · 0.85
AcornDfsDirectory
Method · 0.85
AppledosDirent
Method · 0.85
testRightTrim
Function · 0.85
Calls
1
erase
Method · 0.45
Tested by
no test coverage detected