rvn_substrRight: substring from the Right

View source: R/rvn_utilities.R

rvn_substrRightR Documentation

substring from the Right

Description

Returns n characters from the right side of the supplied string x.

Usage

rvn_substrRight(x, n)

Arguments

x

a string to manipulate

n

number of characters to use from the right side of the string

See Also

rvn_substrLeft for using n characters from the left side of string

rvn_substrMRight for removing n characters from the right side of a string

rvn_substrMLeft for removing n characters from the left side of a string

Examples


rvn_substrRight("hello world",3)
# returns "rld"


rchlumsk/RavenR documentation built on June 28, 2024, 12:27 p.m.