powered by
Reverse given character vector by the given n-plets.
reverse.string(.seq, .n = 1)
Sequences.
By which n-plets we should reverse the given strings.
Reversed strings.
# NOT RUN { reverse.string('abcde') # => "edcba" reverse.string('abcde', 2) # => "debca" # }
Run the code above in your browser using DataLab