MID$(
x$, n, m)Purpose | This function
returns a sub-string of m characters from x$, beginning with the nth
character.x$ - any string expression, variable or constant. n - any numeric expression producing a result of between 1 to 255 m - any numeric expression producing a result of between 0 to 255. |
Examples | A$ = MID$("Welcome to TBASIC",4,7) |
Comments: | A$ should contain the string :"come to" |