var str1 = "a,b,c,d,e,f,g,h";
var str2 = str1.replace(/\,/g,"");
str2 will contain the string abcdefgh.I hope you will find this tutorial very handy.
Source Code examples, error solution in Programming & learn online .Net, C, Java, C#, c++, basic of language, sql server , Ajax, Crystal Report, Html.
var str1 = "a,b,c,d,e,f,g,h";
var str2 = str1.replace(/\,/g,"");
str2 will contain the string abcdefgh.I hope you will find this tutorial very handy.
0 comments:
Post a Comment