strrev: strrev: Reverse Character Order

Description Usage Arguments Value Author(s)

View source: R/strrev.R

Description

strrev() reverses the order of characters within each element of a character vector

Usage

1
strrev(strs)

Arguments

strs

A vector, matrix or array of character values, or other data type that can be coerced to type character. Note that if strs is numeric, trailing zeros will not be preserved.

Value

A vector, matrix or array of character values with the same dimensions and other attributes (i.e., names) as the input argument, but with the the order of characters in the individual elements reversed.

Author(s)

M.W.Rowe, mwr.stats@gmail.com


mwrowe/microRutils documentation built on June 12, 2021, 2:41 p.m.