1 MID$ The MID$ function allows you the option of either using MID$ on the right of the equals sign or MID$ on the left of the equals sign. MID$ on the right extracts a specified substring while MID$ on the left replaces a specified substring. Example New_string$ = MID$(Old_string$, 5%, 8%) MID$(old_string$,1%,3%) = replace_string$ 2 Syntax MID$ on the right: str-var = MID[$] (str-exp, int-exp1, int-exp2) MID$ on the left: MID[$] (str-var, int-exp [,int-exp]) = str-exp Int-exp1 specifies the starting position of the substring's first character and int-exp2 specifies the substring's length. If int-exp1 is less than one, BASIC assumes a starting character position of one. If int-exp2 is less than or equal to zero, BASIC assumes a length of zero.