|laziness, impatience, and hubris|
Re^2: Parsing a text file to get the location of the latestby NetWallah (Abbot)
|on Nov 03, 2012 at 04:47 UTC||Need Help??|
This one-line does the job (With your current sample data):
Note1 - the Date compare logic is very weak - it simply does a textual compare.
Note2 - "Approved" verification is very weak.
This is a working sample - you can use it to build a more robust program.
Change single-quotes to double, if you use Window$.
Update: Oops - I had intended to respond to the original post - but got OGB's post instead. Sorry.
"By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest." -Confucius