Returns portion of string starting from end of string (otherwise just like substr)

substrev(x, start, stop = 0)

Arguments

x

Character vector

start

Number of characters to include relative to the last character position.

stop

Specify the number of characters from the final character to set as the last character position.

Value

Sub string with last i characters.