substr_right: Extracts the last n characters of a character string x

View source: R/general_tools.R

substr_rightR Documentation

Extracts the last n characters of a character string x

Description

Extracts the last n characters of a character string x

Usage

substr_right(x, n)

Arguments

x

a character string

n

the last n elements to extract

Value

a character string of length n


simschul/my.utils documentation built on June 29, 2023, 6:50 a.m.