去掉字符串中的第一个字符

var str = "/helloworld";
str = str.substr(1);  //helloworld

 

posted @ 2020-04-09 14:55  氧化成风  阅读(7991)  评论(0)    收藏  举报