Hi. I need the program to read a text document every time I find a jump line (\ n), convert the text read before the line break into an element of a list.
With the function "split" does not work because it converts each word into a list item and that's not what I need, I need each row to be a list item.
Does anyone know any method or regular expression to do it?
With the function "split" does not work because it converts each word into a list item and that's not what I need, I need each row to be a list item.
Does anyone know any method or regular expression to do it?

