Learn R Programming

miscset (version 1.0.0)

strrev: Reverse Text Strings

Description

Create a reverse version of strings.

Usage

strrev(x)

Arguments

x
vector with strings. Is coerced to character.

Value

Returns a character vector with reversed strings.

See Also

rev

Examples

Run this code
#

strrev(c("abc","asdf"))

#

Run the code above in your browser using DataLab