strReverse: Reverse each string of a vector

Description Usage Arguments Author(s) References Examples

View source: R/strReverse.R

Description

A function which will reverse every string in a vector of strings.

Usage

1

Arguments

x

a character vector

Author(s)

Josh O'Brien

References

https://stackoverflow.com/questions/13612967/how-to-reverse-a-string-in-r

Examples

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

Example output

[1] "cba"        "scitsitatS"

stackoverflow documentation built on Jan. 10, 2020, 9:07 a.m.