right

Syntax

right(X, n)

Arguments

X is a string scalar or vector.

n is a positive integer.

Details

Return the last n characters of string X.

Examples

right("I love this game!", 6);


game!