Specifications

367
Syntax:
LEFT$(stringexpression,stringlength)
Parameter:
stringlength
A numeric expression which returns a value from 0 to 255.
Description:
LEFT$ extracts a portion of a string specified by stringexpression by the
number of characters specified by stringlength, starting at the left side of the
string.
If
stringlength is zero, LEFT$ returns a null string.
If stringlength is greater than the length of stringexpression, the
whole
stringexpression will be returned.
Run-time errors:
Reference:
LEFT String function
LEFT$
Returns the specified number of leftmost characters from a given string expression.
Error code Meaning
05h Parameter out of the range
(
stringlength is out of the range.)
Functions:
LEN, MID$, and RIGHT$