Boost.URL

    • Quick Look
    • URLs
      • Parsing
      • Containers
      • Segments
      • Params
      • Normalization
      • String Token
      • Percent Encoding
      • Formatting
    • Customization
      • Parse Rules
      • Character Sets
      • Compound Rules
      • Ranges
      • RFC 3986
    • Examples
      • QR Code
      • Finicky
      • mailto URLs
      • Magnet Link
      • File Router
      • Router
      • Sanitizing URLs
    • Reference
      • Concepts
        • CharSet
        • Rule
        • StringToken
      • Help Card
  • boost::urls::decode_view::remove_suffix

boost::urls::decode_view::remove_suffix

Remove the last characters

Synopsis

Declared in <include/boost/url/decode_view.hpp>

void
remove_suffix(size_type n);

Description

decode_view d( "Program%20Files" );
d.remove_prefix( 6 );
assert( d == "Program" );
not this->empty()

Linear.

Created with MrDocs