Standard LibraryTypesstringMethodsreverseOn this pagereverse Method of string. reverse() -> string Reverses the order of elements in the container. Returns the container itself.