What it does
InsertString takes string (a string), insert (a string) and position (an integer), and answers a string.
Syntax
InsertString(string string, insert string, position integer) → stringParameters
| Name | Type |
|---|---|
| string | string |
| insert | string |
| position | integer |
Every form returns
string
Example · generated
DO Print(InsertString("hello", "value", 1)) Sync()LOOPInsertString is called and its answer is printed every frame. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.