str_rev2: Reverse a Vector of Strings (UTF-8)

Description Usage Arguments Details See Also Examples

View source: R/str_rev.R

Description

Reverses a vector of 'strings' (a character vector). This will safely reverse a vector of unicode (UTF-8) characters.

Usage

1

Arguments

x

a character vector.

Details

This function will handle UTF-8 characters safely. If you are working only with ASCII characters and require speed, see str_rev2.

See Also

str_rev

Examples

1
2
x <- c("ABC", "DEF", "GHIJ")
str_rev(x)

Kmisc documentation built on May 29, 2017, 1:43 p.m.

Related to str_rev2 in Kmisc...