RIGHT()
Action

Return a specified number of rightmost characters in a string.

Syntax

var = RIGHT(var1 ,st )

Remarks

var The string that is assigned.
Var1 The source string.
st The starting position.
All strings must be of the same datatype, internal or external.


See also
LEFT , MID

Example
Dim s As XRAM String * 15, z As XRAM String * 15
s = "ABCDEFG"
z = Right(s,2)
Print z 'FG
End