SyntaxFix
Write A Post
Hire A Developer
Questions
You could try
var strArr = str.split(""); strArr[0] = 'h'; str = strArr.join("");