Contact: aviboots(AT)netvision.net.il
43,871 questions
57,242 answers
573 users
let str = "typescript php java c++"; const index = 3; const replacement = 'UVW'; str = str.substring(0, index) + replacement + str.substring(index + replacement.length); console.log(str); /* run: "typUVWript php java c++" */