So, I have a two part question for you...
I'm going to be writing several lines of code to a .txt file, but I won't know what each line is, or how many there will be. There could easily be hundreds of lines. I need to add a prefix to the front of each individual line. Is such a thing possible, when you don't know how many lines there are going to be? (It will all be contained within a list before being written to the file, btw.)
And second question... if I potentially had say, over 1000 lines of text, would the list be able to hold them all? I haven't seen any mention of lists' limitations anywhere, so I'm not sure if there is a limit or not, but I'm just asking to be safe.
Thanks for the help.
(Lol, whoops... I wrote string in the title instead of list. My bad.)
Edited by Lemony Lime: n/a