Probieren Sie JavaScript Online -Substring aus
var str = "Hello world!";
var res = str.substring(1, 4); //ell
Sleepy Swiftlet
var str = "Hello world!";
var res = str.substring(1, 4); //ell