This is probably very stupid, but I'm a beginning programmer and I'd like your help.
I have a text-file with lines like this:
bla bla bla !end!
Now I want my program to ad all the words from a line to a variable, until it reaches "!end!". So if my program would read from the above line the value of the variable would be "bla bla bla". I tried it with this (only a small piece):
I know, my coding in general sucks But do you guys have tips or something for me to achieve this?
Doesn't have to be an anhanced methode of my coding, new coding would rock
Thanx in advance!