如何删除 javascript 中字符串“$ … 123.56”的白色 space
How to remove white space for string " $ … 123.56 " in javascript
我的输入是 $ … 123.56
。如何更改 javascript
中有“$ 123.56”
我猜你正在找这个?
var priceInput = " $ … 123.56 ";
var priceOutput = priceInput.replace('… ', '');
我的输入是 $ … 123.56
。如何更改 javascript
我猜你正在找这个?
var priceInput = " $ … 123.56 ";
var priceOutput = priceInput.replace('… ', '');