javascript how to take the first 3 letters out of string code example
Example 1: remove first 3 characters from string javascript
var string = "abcd";
console.log(string.substring(3)); //"d"
Example 2: javascript get first 10 characters of string
var str = "Hello world That is reallly neat!";
var res = str.substring(0, 5);//get first 5 chars