[#boost-urls-decode_view-remove_suffix] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/decode_view.adoc[decode_view]::remove_suffix :relfileprefix: ../../../ :mrdocs: Remove the last characters == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/decode_view.hpp#L465[boost/url/decode_view.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void remove_suffix(xref:boost/urls/decode_view/size_type.adoc[size_type] n); ---- == Description === Example [,cpp] ---- decode_view d( "Program%20Files" ); d.remove_prefix( 6 ); assert( d == "Program" ); ---- === Preconditions [,cpp] ---- not this->empty() ---- === Complexity Linear. [.small]#Created with https://www.mrdocs.com[MrDocs]#