:relfileprefix: ../../../ [#D51E0352FB90C0ABFA5A51F1C988EBF772A4B1CC] = Function decode_view::remove_suffix pass:v,q[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 === Example [,cpp] ---- decode_view d( "Program%20Files" ); d.remove_prefix( 6 ); assert( d == "Program" ); ---- === Preconditions [,cpp] ---- not this->empty() ---- === Complexity pass:v,q[Linear.] == Return Value * `void` == Parameters |=== | Name | Type | *n* | `size_type` |===