I would like to save a file.txt line by line in variable (array or list) .So if the file.txt is:
hi there
what's up
I want my code to save it line by line in the same variable making a table so I can access easily each line when I want using that variable. And what can I do if I wanna access only line 2? It is supposed I don't know how many lines the file.txt has. Thank you very much!