JavaScript中search和match函数的区别string.match(str)如果string 中有字符串str ,则返回值是str ,或者多个str例如:var str="The rain in SPAIN stays mainly in the plain"v2023-02-18JavaScript280