strReverse: reverse a string...

Description Usage Arguments Details Value References Examples

Description

reverse a string

Usage

1

Arguments

x

a string or a vector of strings

Details

reverses the strings of a vector, i.e. c("ABC", "abc") becomes c("CBA", "cba")

Value

vector a string or vector of strings with reversed chars

References

http://www.mail-archive.com/r-help@r-project.org/msg102759.html

Examples

1
strReverse(c("ABC", "abc"))

OpenRepGrid documentation built on May 2, 2019, 4:54 p.m.