Learn R Programming

DescTools (version 0.99.43)

StrRev: Reverse a String

Description

Returns a string in reverse order.

Usage

StrRev(x)

Arguments

x

a string to be processed.

Value

string

See Also

String functions: nchar, match, grep, regexpr, substr, sub, gsub, StrTrunc, StrDist

Examples

Run this code
# NOT RUN {
StrRev("home")
StrRev("Anna")
# }

Run the code above in your browser using DataLab