how to use string.substring(start end) in a function javascript code example
Example: substring javascript
var str = "Hello world!";
var res = str.substring(1, 4); //ell
var str = "Hello world!";
var res = str.substring(1, 4); //ell