skip to main
|
skip to sidebar
Austin-X's Blog
Monday, October 26, 2009
JavaScript String funtion Replace
var str="1,001,300.0";
str = str.replace("
,
",""); //will only replace the first comma
var x="1,2,25.8,1";
var y=x.replace(
/
,
/
g
,''); //withGlobal Regular Expressionwill replace all comma
Newer Post
Older Post
Home
My Links
My Photo Albums
Blog Archive
►
2011
(4)
►
May
(1)
►
April
(1)
►
February
(2)
►
2010
(9)
►
December
(1)
►
October
(1)
►
September
(2)
►
August
(2)
►
July
(3)
▼
2009
(12)
▼
October
(4)
JavaScript String funtion Replace
System Stored Procedure - sp_msforeachtable
Disable and Enable all constraints
Make Iframes full screen
►
September
(1)
►
August
(1)
►
July
(2)
►
June
(1)
►
April
(1)
►
February
(1)
►
January
(1)
►
2008
(55)
►
November
(4)
►
October
(1)
►
September
(1)
►
August
(15)
►
July
(14)
►
May
(5)
►
April
(5)
►
March
(3)
►
February
(5)
►
January
(2)
►
2007
(55)
►
November
(7)
►
October
(3)
►
September
(9)
►
August
(6)
►
July
(3)
►
May
(6)
►
April
(11)
►
March
(3)
►
February
(3)
►
January
(4)
►
2006
(9)
►
December
(4)
►
November
(5)
Labels
正尔八经文
(62)
转载
(42)
杂记
(25)
ASP.NET
(10)
DATABASE
(8)
MS Office
(6)
感想
(6)
Eng
(5)
HTML
(5)
JAVA
(5)
SYSTEM
(5)
游戏
(5)
记事
(4)
Excel
(3)
JAVASCRIPT
(3)
AUTO
(2)
C++
(2)
CSS
(2)
Ajax
(1)
Classic ASP
(1)
Computer
(1)
Firefox
(1)
General Program
(1)
Phone
(1)
QuickStript.NET
(1)
SAP
(1)
Wifi
(1)
Windows Gadget
(1)
Wonderware
(1)