MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / TrimLeft

Method TrimLeft

cpp/iedriver/StringUtilities.cpp:159–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159std::string StringUtilities::TrimLeft(const std::string& input) {
160 size_t startpos = input.find_first_not_of(WHITESPACE);
161 return (startpos == std::string::npos) ? "" : input.substr(startpos);
162}
163
164std::string StringUtilities::TrimRight(const std::string& input) {
165 size_t endpos = input.find_last_not_of(WHITESPACE);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected