Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript add new line in string

//use 
 like this:
var newString = "this is on line 1 
and this is on line 2";
console.log(newString);
 
PREVIOUS NEXT
Tagged: #javascript #add #line #string
ADD COMMENT
Topic
Name
9+7 =