|
If the string is an Alpha variable, the function refers to the full length of the variable. If variable A is a 20-character alpha variable containing 'abcdefg', Right(A,3) returns ' ' (blanks, the last three positions of the variable).
To retrieve the characters from the actual alpha string contained in a variable, use Right(RTrim(A),3).
|