Return a view to part of the string

Synopsis

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