basic/doc/statements/
mid.rs

1/*!
2# `[LET] MID$(<string>,n[,m])=<expression> `
3
4## Purpose
5Assign the result of expression to variable.
6
7## Remarks
8The word `LET` is optional. Replaces part of the `string`
9beginning at position `n` with `expr`. The `string` will not
10change size so extra chars from the `expr` are ignored.
11The length of `expr` used may be limited by the optional `m`.
12
13## Example
14```text
15A$(5)="PORTLAND, ME"
16LET MID$(A$(5),11)="OR"
17PRINT A$(5)
18PORTLAND, OR
19```
20
21*/