Insert a string into another string at a given position
Parent string you want to modify
Value that will be injected to parent
Position to inject string at
console.log(insertAt('Hello world!', ' glorious', 5);// Output: Hello glorious world! Copy
console.log(insertAt('Hello world!', ' glorious', 5);// Output: Hello glorious world!
use strSplice()
strSplice()
Insert a string into another string at a given position