substrRight: Generic function to cut off n characters from a string

View source: R/utils.R View source: R/utils.R View source: R/supplementary_functions.R View source: R/supplementary_functions.R

substrRightR Documentation

Generic function to cut off n characters from a string

Description

Generic function to cut off n characters from a string

Generic function to cut off n characters from a string

Generic function to cut off n characters from a string

Generic function to cut off n characters from a string

Usage

substrRight(x, n)

substrRight(x, n)

substrRight(x, n)

substrRight(x, n)

Arguments

x

A string of characters

n

Amount of characters to be returned

Value

The cut off string.

The cut off string.

The cut off string.

The cut off string.

Examples

a <- substrRight("R_is_awesome", 7)
a
a <- substrRight("Awesome_is_R", 7)
a
a <- substrRight("R_is_awesome", 7)
a
a <- substrRight("Awesome_is_R", 7)
a

SebaStad/rPALM documentation built on June 4, 2024, noon