Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript remove all spaces

var string = "Javascript is fun";
var newString = string.replace(" ", "_");
console.log(newString); // Javascript_is_fun
Source by www.textbotonline.com #
 
PREVIOUS NEXT
Tagged: #javascript #remove #spaces
ADD COMMENT
Topic
Name
7+3 =