Experimente javascript online substring
var str = "Hello world!";
var res = str.substring(1, 4); //ell
Sleepy Swiftlet
var str = "Hello world!";
var res = str.substring(1, 4); //ell