Use the String.replace() method to replace multiple spaces with a single space, e.g. str.replace(/ +/g, ' ') . The ...
確定! 回上一頁