$insert » History » Version 1
Per Amundsen, 08/06/2015 05:42 AM
| 1 | 1 | Per Amundsen | _Added in 1.8.10_ |
|---|---|---|---|
| 2 | |||
| 3 | *$insert(text, token, N)* |
||
| 4 | |||
| 5 | Insert token into text at position N. |
||
| 6 | |||
| 7 | *Parameters* |
||
| 8 | |||
| 9 | text - Text to insert to. |
||
| 10 | token - Token to insert. |
||
| 11 | N - Position in text to insert the token at. |
||
| 12 | |||
| 13 | *Example* |
||
| 14 | |||
| 15 | <pre> |
||
| 16 | ; Insert 'wo' at position 6. |
||
| 17 | //echo -ag $insert(hello rld, wo, 6) |
||
| 18 | </pre> |