ends_with Checks if string ends with slice Signature ends_with(self, needle: slice) -> bool Specifiers const noexcept See Also Back to basic<Char, Traits>