cut first n characters of string javascript code example
Example 1: remove first 3 characters from string javascript
var string = "abcd";
console.log(string.substring(3)); //"d"
Example 2: how to remove first character from string in javascript
str = str.substring(1);