Returns absl::string_view with whitespace stripped from the end of the given string_view.
Synopsis
Declared in <absl/strings/ascii.h>
[[nodiscard]]
std::string_view
StripTrailingAsciiWhitespace(std::string_view str);
Return Value
A view of str without trailing whitespace.
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
str |
The characters to strip trailing whitespace from. |
Created with MrDocs