Added in 1.8.10

$insert(text, token, N)

Insert token into text at position N.

Parameters

text - Text to insert to.
token - Token to insert.
N - Position in text to insert the token at.

Example

; Insert 'wo' at position 6.
//echo -ag $insert(hello rld, wo, 6)