Right

Description

Returns a specified number of rightmost characters from a string.

Syntax

Right ( str, len)

Arguments

str is a string, and

len is an integer, greater than or equal to zero.

Remarks

Right returns a string consisting of the rightmost len characters of the string expression str. The len parameter should be an integer value greater than or equal to zero. If len is equal to zero, a null value is returned. If len is greater than or equal to the length of the string str, then the entire string, str, is returned.