MCPcopy Create free account
hub / github.com/derceg/explorerplusplus / TrimStringRight

Function TrimStringRight

Explorer++/Helper/StringHelper.cpp:340–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338}
339
340void TrimStringRight(std::wstring &str, const std::wstring &strWhitespace)
341{
342 size_t pos = str.find_last_not_of(strWhitespace);
343 str.erase(pos + 1);
344}
345
346void TrimString(std::wstring &str, const std::wstring &strWhitespace)
347{

Callers 4

TrimStringFunction · 0.85
TESTFunction · 0.85

Calls 1

eraseMethod · 0.45

Tested by 1

TESTFunction · 0.68