MCPcopy 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
99std::string rightTrimWhitespace(std::string value)
100{
101 value.erase(value.find_last_not_of(WHITESPACE) + 1);
102 return value;
103}
104
105std::string trimWhitespace(const std::string& value)
106{

Callers 4

trimWhitespaceFunction · 0.85
AcornDfsDirectoryMethod · 0.85
AppledosDirentMethod · 0.85
testRightTrimFunction · 0.85

Calls 1

eraseMethod · 0.45

Tested by

no test coverage detected