Main sections
MID$()
aim$=MID$(source$, start%, length%=-1)
Returns a subset (a substring) of a string source$. Start# is the index of the first letter to be copied. The first letter of the source$ string has the index 0.
If the optional parameter length% < 0, the text until the end will be used. A length% of 0 will return no characters.
Sample:
a$="GLBasic"
b$=MID$(a$, 3, 2) // "as"
PRINT a$, 100, 70
PRINT b$, 100, 100
SHOWSCREEN
MOUSEWAIT
Output:
GLBasic
as