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
    • Help Card
  • boost::urls::grammar::string_view_base::substr

boost::urls::grammar::string_view_base::substr

Return a view to part of the string

Synopsis

Declared in <boost/url/grammar/string_view_base.hpp>

constexpr
core::string_view
substr(
    size_type pos = 0,
    size_type n = core::string_view::npos) const;

Description

See core::string_view::substr

Return Value

A view to the substring

Parameters

Name

Description

pos

The position to start from

n

The number of characters

Created with MrDocs