next up previous contents index
Next: RMS Up: A Function Reference Previous: REPLACE

RIGHT

 

Syntax: @RIGHT(S, N)

S = a string value
N = a numeric value

@RIGHT returns the string composed of the rightmost N characters of S. If N is greater than or equal to the length of S, then the entire string S is returned.

Examples:

F1 = ``workstation''

@RIGHT(F1, 1) = ``n''

@RIGHT(F1, 4) = ``tion''

@RIGHT(F1, 20) = ``workstation''


next up previous contents index
Next: RMS Up: A Function Reference Previous: REPLACE

NExS User's Guide, Version 1.4.5
Grey Trout Software
11 April 1999