:relfileprefix: ../../../ [#boost-urls-decode_view-remove_suffix] == xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/decode_view.adoc[pass:[decode_view]]::remove_suffix Remove the last characters === Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- void remove_suffix(xref:boost/urls/decode_view/size_type.adoc[size_type] n); ---- === Description [,cpp] ---- decode_view d( "Program%20Files" ); d.remove_prefix( 6 ); assert( d == "Program" ); ---- [,cpp] ---- not this->empty() ---- === Linear.