$str.insert Inserts a substring in a string at a given index |
Usage |
<string> $str.insert(<string:string>,<substring:string>,<index:int>) |
Description |
Inserts the substring given in the second parameter in the string given in the first parameter at the index given in the third parameter, then returns the resulting string. |