Indications are, MID$ in SmileBasic V1 is identical to that in V2.


MID$(A$,I,N) is a function which takes one string parameter, and two numerical parameters, both of which get rounded down. If either number is negative, the function generates an Out of range (MID$) error. Otherwise, the function removes the first I characters from the string, and returns the N characters that follow. If I is greater than or equal to the length of the string, or if N is zero, the function returns the empty string, and if N is greater than the length of the string after I characters are removed, the function returns only to the end of the string. Thus, the result would ordinarily be N characters long in typical usage, but it can be fewer (even zero).


Indications are, MID$ in SmileBasic V3 is identical to that in V2.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.