powered by
chars
Reverse Elements of a chars Object
# S3 method for chars rev(x)
a chars object with the elements reversed.
a chars object
rev(chars("racecar")) rev(chars("alphabet"))
Run the code above in your browser using DataLab