Answers for "sentence on to a separate line in javascript"

2

split text by new line javascript

myText.split(/\n/)
Posted by: Guest on January-24-2021
0

how to separate string elements in javascript

let string = "How are you?";
const newArr = string.split(" ");
Posted by: Guest on September-01-2021

Code answers related to "sentence on to a separate line in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language