NAME
LEFT$, RIGHT$ Functions
SYNOPSIS
LEFT$(stringexpression$,n%)
RIGHT$(stringexpression$,n%)
o stringexpression$ Any string expression.
o n% The number of characters to return, beginning
with the leftmost or rightmost string character.
DESCRIPTION
Return a specified number of leftmost or rightmost characters in a string.
Example:
a$ = "Microsoft QBasic"
PRINT LEFT$(a$, 5) 'Output is: Micro
PRINT RIGHT$(a$, 5) 'Output is: Basic
SEE ALSO
MID$ MID$