I have a text file that contains information formated in a key=value way. How do I look up the key and return the value.
For example, let’s say the file has:
KeyOne=ValueOne
KeyTwo=ValueTwo
and I would like to have a method which takes KeyOne and returns ValueOne.
Okay, I’m in a good mood :), untested: