str_rev {miscset} | R Documentation |
Reverse Text Strings
Description
Create a reverse version of strings.
Usage
str_rev(x)
strrev(x)
Arguments
x |
vector with strings. Is coerced to character. |
Value
Returns a character vector with reversed strings.
Author(s)
Sven E. Templer
See Also
Examples
#
s <- c("abc","asdf")
str_rev(s)
#
[Package miscset version 1.1.0 Index]