I am reading the contents of a file that looks something like this.
[1]
Message=my string here
EffDate=1/1/1995
DeactDate=
Modified=
Note=
[2]
Message=my other string here
EffDate=1/1/1995
DeactDate=
Modified=
Note=
I want to get the line after Message=, but only until the end of the line. I don't need dates, notes, or anything.
I was hoping to put both messages in an array of strings or something like that. Is there any way to do this?
Any help is appreciated.
source
share