-
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.
-
stringis a string expression. -
positionis a numeric expression between1and the string length, inclusive. -
lengthis a numeric expression in[0 to 255].
-
stringhas a number value or position orlengthhave string values: Type mismatch. -
positionorlengthare not in[-32768 to 32767]: Overflow. -
positionis not in[1 to 255]: Illegal function call. -
lengthis not in[0 to 255]: Illegal function call.
- Press
RETURNto return to this menu. - Enter the name of a
TOPICto display it. - Enter
EXITto return to BASIC.
Choose from the following topics: