JavaScript Substtgin

var str = "Hello world!";
var res = str.substring(1, 4);

// This returns "ell" so the last value is exclusive and the first is inclusive
68Duck