I want to display my object from a text file, the contents of the text file are as follows:
~
attribute1value
attribute2value
attribute3value
attribute4value
attribute5value
attribute6value
~
attribute1value
attribute2value
attribute3value
attribute4value
attribute5value
attribute6value
...continued same
Thus, for each of the 5 attributes that I want to create a new object and display these 6 properties for it (which do not produce), the question is, how can I distinguish lines while reading, how can I get the first group, the second group etc. thanks
source
share