var str = '123456789';
str.startWith('12345');//true
js 判断字符串是否以某字符串开始
猜你喜欢
转载自blog.csdn.net/supertree_l/article/details/81699389
今日推荐
周排行