Answers for "string split javascript newline"

0

split text by new line javascript

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

string split javascript newline

let string = "Hi\nHow are you?"

let newstrings = string.split("\n"); // [ "Hi", "How are you?" ]
Posted by: Guest on May-18-2020

Code answers related to "string split javascript newline"

Code answers related to "Javascript"

Browse Popular Code Answers by Language