📌  相关文章
📜  grep javascript 代码示例中字符串的前 2 个字符

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

代码示例1
var str = "Hello world That is reallly neat!";
var res = str.substring(0, 5);//get first 5 chars