![]() |
Home | Libraries | People | FAQ | More |
Return a substring.
constexpr basic_static_string substr( size_type pos = 0, size_type count = npos) const;
Returns a substring of the string.
Strong guarantee.
A string object containing the characters {data() + pos, std::min(count, size() - pos))
.
Name |
Description |
---|---|
|
The index to being the substring at. The default arugment for
this parameter is |
|
The length of the substring. The default arugment for this parameter
is |
Type |
Thrown On |
---|---|
|
|