substrRight: Subset a character string counting from the right end

View source: R/helper.R

substrRightR Documentation

Subset a character string counting from the right end

Description

Allows to quickly remove a given number of characters from the end of a string

Usage

substrRight(input, n)

Arguments

input

Character string to be trimmed.

n

Number of characters to be removed.

Value

A trimmed string or vector of trimmed strings.


actel documentation built on Oct. 19, 2023, 9:08 a.m.