str_rev: Reverse string

Description Usage Arguments Value Author(s) Examples

View source: R/string_utils.R

Description

Reverse the string. A copy from an example of strsplit

Usage

1

Arguments

x

a string vector

Value

a string vector after reversing the order of characters in each string

Author(s)

Mun-Gwan Hong, mungwan@gmail.com

Examples

1
str_rev(c("Sample1", "Sample2"))

Rundmus/Useful2me-R_package documentation built on Nov. 13, 2020, 4:16 p.m.