Learn R Programming

FedData (version 4.2.0)

substr_right: Get the rightmost 'n' characters of a character string.

Description

Get the rightmost 'n' characters of a character string.

Usage

substr_right(x, n)

Value

A character string.

Arguments

x

A character string.

n

The number of characters to retrieve.