RETURNS THE N FIRST CHARACTERS OF THE STRING S
ACTION
The function LEFT$(S,N) returns the N first characters (on the left) of the string S.
If the number N is greater than or equal to the number of characters of S, S is returned.
N must not be negative. If N is 0, LEFT$ returns the empty string ("").
Remark: the keyword LEFT$ ends by '$' : it means that the returned value is a string.
SYNTAX:
Result$=LEFT$(S,N)
USE ERROR EXAMPLE
print left$("abcd",2)
print "ab"
LEFT$()
LEFT$(S,N)
SEE ALSO
INSERT$()
INSTR()
LEN()
LOWER$()
LTRIM$()
MID$()
RIGHT$()
RTRIM$()
STR$()
STRING$()
TRIM$()
UPPER$()