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