DescTools (version 0.99.13)

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
StrRev("home")
StrRev("Anna")

Run the code above in your browser using DataCamp Workspace