StrRev: Reverse a String

View source: R/DescTools.r

StrRevR Documentation

Reverse a String

Description

Returns a string in reverse order.

Usage

StrRev(x)

Arguments

x

a string to be processed.

Value

string

Author(s)

Andri Signorell <andri@signorell.net> solely copying R core code from strsplit example

See Also

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

Examples

StrRev("home")
StrRev("Anna")

DescTools documentation built on Sept. 26, 2024, 1:07 a.m.