AKD BASIC User Guide | 5 AKD BASIC Functions
5.21 RIGHT$()
General Information
Type Function
Description Returns a string of the n rightmost characters in a string expression.
Syntax
result$ = RIGHT$(x$, n)
Instructions
If n is greater than Len( x$ ) then the entire string will be returned.
Example
a$ = "Mississippi"
Print RIGHT$(a$, 5) 'prints: sippi
Related Topics
LEN() | MID$ | LEFT$()
Kollmorgenâ„¢ | March 30, 2012 84