absl::StripAsciiWhitespace

Strips in place whitespace from both ends of the given string

Synopsis

Declared in <absl/strings/ascii.h>

void
StripAsciiWhitespace(std::string* str);

Parameters

NameDescription
strThe string to strip whitespace from in place.