absl::StripTrailingAsciiWhitespace

Strips in place whitespace from the end of the given string

Synopsis

Declared in <absl/strings/ascii.h>

void
StripTrailingAsciiWhitespace(std::string* str);

Parameters

NameDescription
strThe string to strip trailing whitespace from in place.