RIGHT

r = RIGHT (s[,n])

Returns the n number of rightmost chars of string s. If n is not specified n = 1.

Example

s = "abcdef"

print right(s)      ' Output: f
print right(s,2)    ' Output: ef
print right(s,10)   ' Output: abcdef
String
If there is insufficient information on this page and you wish learn more about RIGHT, please send an email to smallbasic@gmail.com. You can help to improve information about RIGHT by submitting a pull request, click View Source for details. Note, an offline language reference text file is also available - see the Download section.