rev.chars: Reverse Elements of a 'chars' Object

View source: R/methods.R

rev.charsR Documentation

Reverse Elements of a chars Object

Description

Reverse Elements of a chars Object

Usage

## S3 method for class 'chars'
rev(x)

Arguments

x

a chars object

Value

a chars object with the elements reversed.

Examples

rev(chars("racecar"))

rev(chars("alphabet"))

charcuterie documentation built on April 3, 2025, 8:53 p.m.