javascript how to take away the start of a string code example
Example 1: remove first char javascript
let str = 'Hello';
str = str.substring(1);
console.log(str);
Example 2: javascript remove characters from beginning of string
"www.testwww.com".replace("www.", "");
"www.testwww.com".slice(4);
"www.testwww.com".replace(/^(www\.)/,"");
Example 3: delate char betwen index js
S = S.replace(S.substring(bindex, eindex), "");
var result = S.split("");
result.splice(bindex, eindex - bindex);
S = result.join("");