RIGHT
r = RIGHT (s[,n])
Returns the n
number of rightmost chars of string
s
. If n
is not specified
n = 1
.
Example
"abcdef"
s =
print right(s) ' Output: f
print right(s,2) ' Output: ef
print right(s,10) ' Output: abcdef
Code samples using RIGHT
000 hello.bas
001 3 ways to print hello 5 times.bas
002 numeric variables.bas
003 conditional branching.bas
004 loops.bas
005 challenge.bas
006 arrays+.bas
2048.bas
2048.bas
3d_torus.bas
3dtorus.bas
7gables.bas
another look at trig functions.bas
Balleta 2-11-15.bas
base64.bas
Blackbox.bas
blackbox.bas
block.bas
bolmo.bas
bowling7.bas
calc.bas
cgi_counter.bas
Chaos_1xt.bas
Chaos_NPhase.bas
checkers.bas
checkers.bas
chess.bas
chess.bas
colors1.bas