Learn R Programming

FedData (version 2.4.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)

Arguments

x
A character string.
n
The number of characters to retrieve.

Value

A character string.