I am trying to makke a solution to a problem lots of people have - makeing good conversations. I am trying to write a function that takes a string, and converts it into an array of individual lines. So far, it hasn't worked. So if I have a string which contains "Hello everyone!\nHow are you?\nI am a tree!", it will convert it into an array of strings which contain
[0]:"Hello everyone!"
[1]:"How are you?"
[2]:"I am a tree!"
[3]:""
[4]:""
...
Any suggestions?