chars
R/methods.R
rev.chars.Rd
Reverse Elements of a chars Object
# S3 method for class 'chars' rev(x)
a chars object
a chars object with the elements reversed.
rev(chars("racecar")) #> [1] "racecar" rev(chars("alphabet")) #> [1] "tebahpla"