js判断字符串以什么开头var fdStart = strCode.indexOf("ssss")if(fdStart == 0){表示strCode是以ssss开头;}else if(fdStart == -1){表示strCode不2023-03-01JavaScript190