string.insert
| Syntax |
string.insert (source, dest, index)
|
| Params |
source is a string to be inserted into the dest string.
dest is the string into which source is to be inserted.
index is a number indicating the starting position for the insertion.
|
| Action |
Inserts source into dest starting in the index character position of dest.
|
| Returns |
The new string.
|
| Examples |
string.insert ("abc", "123456789", 4)
» 123abc456789
|
|