remove letter from string javascript code example
Example 1: delete first character javascript
let str = 'Hello';
str = str.slice(1);
console.log(str);
Example 2: remove first char javascript
let str = 'Hello';
str = str.substring(1);
console.log(str);
Example 3: javascript remove character from string
mystring.replace(/r/g, '')
Example 4: delate char betwen index js
S = S.replace(S.substring(bindex, eindex), "");
var result = S.split("");
result.splice(bindex, eindex - bindex);
S = result.join("");
Example 5: remove letter js
remove letter