Ok I have a text file which is being searched by a windows service. It finds the string fine. What I need to do is as soon as it finds the string...it needs to pull the line before it and compare it to todays date.
What I am looking for is how to get the line before the string I was looking for
May 2, 2005 10:38 AM
LINE I WAS SEARCHING FOR