Vector Basic Interpreter Basic 80 Reference Manual - page 76
of
190
m
are
integer
expressions
and
and
exp2> are string where n and exp1> expressions. Extended, Disk To replace a portion of one string with another string. The characters in exp1>, beginning at position n, are replaced by the characters in The optional m refers to the number of characters from will be used in the replacement. If m is omitted, all of However, regardless of whether m is omitted or included, the replacement of characters never goes beyond the original length of 10 A$="KANSAS CITY, MO" 20 MID$(A$,14)="KS" 30 PRINT A$ RUN KANSAS CITY, KS MID$ may also be used as a function that returns a substring of a given string. See Section 3.24.