I need to write every single row of a textArea into an array after I click a button. However, I have no clue how to seperate the the rows of the input text so i can write them to an array. (or if this is possible at all with textareas?)
Example: Textarea: line1 line2 line3
After I lick a button, it will generate this array of Strings:
array[0]: line1
array[1]: line2
array[2]: line3
Thanks in advance.