RETURNS THE N CHARACTERS OF THE STRING S FROM THE POSITION P
ACTION
The function MID$(S,P,N) returns the N characters of the string expression S from the position P.
P must be greater than 0.
N must not be negative. If N is 0, MID$ returns the empty string ("").
Remark: the keyword MID$ ends by '$' : it means that the returned value is a string.
SYNTAX:
Result$=MID$(S,N,P)
USE ERROR EXAMPLE
print mid$("abcdef",3,2)
print "cd"
MID$()
MID$(S,P,N)
SEE ALSO
INSERT$()
INSTR()
LEFT$()
LEN()
LOWER$()
LTRIM$()
RIGHT$()
RTRIM$()
STR$()
STRING$()
TRIM$()
UPPER$()