-
Notifications
You must be signed in to change notification settings - Fork 0
MIDS
Andrew Owen edited this page May 30, 2023
·
1 revision
substring = MID$(string, position [, length])
Returns a substring string
starting at position
, counting from 1
. The substring has length length
if specified. If length
is not specified, the substring
extends to the end of the string.
-
string
is a string expression. -
position
is a numeric expression between1
and the string length, inclusive. -
length
is a numeric expression in[0 to 255]
.
-
string
has a number value or position orlength
have string values: Type mismatch. -
position
orlength
are not in[-32768 to 32767]
: Overflow. -
position
is not in[1 to 255]
: Illegal function call. -
length
is not in[0 to 255]
: Illegal function call.
- Press
RETURN
to return to this menu. - Enter the name of a
TOPIC
to display it. - Enter
EXIT
to return to BASIC.
Choose from the following topics: