str_remove_right: A remove from end of string function

View source: R/misc.R

str_remove_rightR Documentation

A remove from end of string function

Description

This function allows you to remove n characters starting from the end of a string.

Usage

str_remove_right(x, n)

Examples

Remove last 3 characters with str_remove_right(string, 3)
str_remove_right

jthomasmock/tomtom documentation built on Nov. 17, 2022, 12:31 p.m.