第三種: 當字串沒有任何空白時,使用regular expression 直接取代空白. Example. var e="aa";; e=e.replace(/[s]+/g,""); ...
確定! 回上一頁