[#absl-StripTrailingAsciiWhitespace-06]
= xref:absl.adoc[absl]::StripTrailingAsciiWhitespace
:relfileprefix: ../
:mrdocs:

`StripTrailingAsciiWhitespace` overloads

== Synopses

Declared in `&lt;absl&sol;strings&sol;ascii&period;h&gt;`

Returns absl&colon;&colon;string&lowbar;view with whitespace stripped from the end of the given string&lowbar;view&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
std::string&lowbar;view
xref:absl/StripTrailingAsciiWhitespace-05.adoc[StripTrailingAsciiWhitespace](std::string&lowbar;view str);
----

[.small]#xref:absl/StripTrailingAsciiWhitespace-05.adoc[_» more&period;&period;&period;_]#

Strips in place whitespace from the end of the given string


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:absl/StripTrailingAsciiWhitespace-01.adoc[StripTrailingAsciiWhitespace](std::string* str);
----

[.small]#xref:absl/StripTrailingAsciiWhitespace-01.adoc[_» more&period;&period;&period;_]#

== Return Value

A view of `str` without trailing whitespace&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *str*
| The characters to strip trailing whitespace from&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
