length Returns the length of the string Signature length(self) -> size_t Specifiers const noexcept See Also Back to basic<Char, Traits>