Description
The insert procedure either inserts a string into another string or inserts a value into a list.
Parameter
Here are some examples using the insert procedure with strings:
Assuming that x is a string variable then after:
x := "ABC";
insert('DEF', x); //insert 'DEF' at the end of "x"
x will contain 'ABCDEF', and after:
x := 'ABFGHI';
insert('CDE', x, 3); //insert 'CDE' at the third position
x will contain 'ABCDEFGHI'.
Portability
Operating Systems: All
Standard Pascal: No