📜  javascript substtgin - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:16.888000             🧑  作者: Mango

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

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