0 LIKES LikeUnLike
I want to replace " " with "".In other words, I want to replace SPACES with NOTHING1 2 3 4 5 will be turned to 12345I am currently using this:var str="1 2 3 4 5";str2=(str.replace(//g, "");it game me error. how to fix it?alert(str2);
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 2 answers.