javascript string remove first 2 chars code example
Example 1: remove first 3 characters from string javascript
var string = "abcd";
console.log(string.substring(3)); //"d"
Example 2: javascript delete first character in string
var oldStr ="Hello";
var newStr = oldStr.substring(1); //remove first character "ello"