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

Function TrimStringLeft

Explorer++/Helper/StringHelper.cpp:334–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334void TrimStringLeft(std::wstring &str, const std::wstring &strWhitespace)
335{
336 size_t pos = str.find_first_not_of(strWhitespace);
337 str.erase(0, pos);
338}
339
340void TrimStringRight(std::wstring &str, const std::wstring &strWhitespace)
341{

Callers 2

TrimStringFunction · 0.85
TESTFunction · 0.85

Calls 1

eraseMethod · 0.45

Tested by 1

TESTFunction · 0.68