substrRight: Extract substrings in a character vector counting from right.

View source: R/string_operations.R

substrRightR Documentation

Extract substrings in a character vector counting from right.

Description

Extract substrings in a character vector counting from right.

Usage

substrRight(x, n)

Arguments

x

a character vector.

n

integer. The first element to be replaced.

Value

A substracted character from x.

Examples

substrRight("ABCD", 2)
#CD


JokingHero/rxtras documentation built on April 1, 2024, 12:42 p.m.