str_reverse: Returns character vector where each element has had its...

View source: R/str_reverse.R

str_reverseR Documentation

Returns character vector where each element has had its character order rerversed.

Description

Returns character vector where each element has had its character order rerversed.

Usage

str_reverse(x)

Arguments

x

- Character vector

Examples

str_reverse("abc") # "cba"
str_reverse(c("abc", "defgh", "i", "jklm")) # "cba" "hgfed" "i" "mlkj"

rmsharp/rmsutilityr documentation built on Feb. 13, 2024, 6:01 p.m.