Return a substring of this string as a const lvalue.

Synopsis

Declared in <bslstl_string.h>

basic_string<char8_t>
substr(
    size_type position = 0,
    size_type numChars = npos) const &;

Created with MrDocs