rvn_substrMRight: substring minus characters from the Right

View source: R/rvn_utilities.R

rvn_substrMRightR Documentation

substring minus characters from the Right

Description

Returns a string x with n characters removed from the right side of the string.

Usage

rvn_substrMRight(x, n)

Arguments

x

a string to manipulate

n

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

See Also

rvn_substrRight for using n characters from the right side of string

rvn_substrLeft for using n characters from the left side of string

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

Examples


rvn_substrMRight("hello world",3)
# returns "hello wo"


rchlumsk/RavenR documentation built on April 19, 2024, 5:15 a.m.