Skip to contents

Right Part of a String

Usage

right(x, n)

Arguments

x

vector of character

n

number of characters to be kept from the end of each character string within x

Value

vector of character

Examples

right("Good Morning", 7)
#> [1] "Morning"