reverse_str: Reverse a string

View source: R/reverse_str.R

reverse_strR Documentation

Reverse a string

Description

reverse_str takes a vector of strings and returns those strings backwards

Usage

reverse_str(string)

Arguments

string

vector of strings to be reversed

Value

Vector of strings the same length as string

Examples

x <- 'abcd'
reverse_str(x)


amorris28/amorris documentation built on Nov. 24, 2022, 6:39 a.m.