Return the size of the string.
constexpr size_type length() const;
Returns the number of characters stored in the string, excluding the null terminator.
Constant.