Re^2: My "if" is failing!by Sumtingwong (Novice)
|on Nov 30, 2012 at 06:32 UTC||Need Help??|
Yeah, to say my logic was wrong was an understatement! I played around with the original for a few minutes today and inserted a few print statements--my poor man's debugger. I didn't realize that the search string was going to go through every line in the html file--don't quite know what my thinking was when that is what I expected the input file to do. Makes sense now and the elegance of your solution is clear to me now.