[#mrdocs-rtrim-0c] = xref:mrdocs.adoc[mrdocs]::rtrim :relfileprefix: ../ :mrdocs: `rtrim` overloads == Synopses Declared in `<mrdocs/Support/String.hpp>` Return the substring without trailing horizontal whitespace. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr std::string_view xref:mrdocs/rtrim-0e.adoc[rtrim](std::string_view const s) noexcept; ---- [.small]#xref:mrdocs/rtrim-0e.adoc[_» more..._]# Return the substring without trailing specified characters. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr std::string_view xref:mrdocs/rtrim-08.adoc[rtrim]( std::string_view const s, std::string_view const chars) noexcept; ---- [.small]#xref:mrdocs/rtrim-08.adoc[_» more..._]# == Return Value The modified string. == Parameters [cols="1,4"] |=== | Name| Description | *s* | The string to trim. | *chars* | The characters to remove. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#