Learn Courses My Dashboard

Manipulating strings

I have read a text file from resources. The app knows where the end of lines are.
How can I tell it to store the first line in one variable and so on

Does the text file have some repetitive structure that lends itself to being read and processed in a loop?

Yes I can append each line into an array of strings once I can figure how to separate the lines.