remove first 2 characters javascript code example
Example 1: remove first 3 characters from string javascript
var string = "abcd";
console.log(string.substring(3)); //"d"
Example 2: javascript remove first character from string
let str = " hello";
str = str.substring(1);
Example 3: how to remove first letter of a string
s = "hello"
print s[1:]