strReverse: reverse a string

Description Usage Arguments Value References Examples

View source: R/utils.r

Description

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

Usage

1

Arguments

x

a string or a vector of strings

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"))

markheckmann/OpenRepGrid documentation built on April 30, 2021, 2:33 a.m.