Detect the last line of a Lines Iterator / Detect last line of a file Iterator

前端 未结 0 687
傲寒
傲寒 2021-01-12 16:08

My code analyzes log files line by line. The last line typically is an empty ("") line and should be ignored completely. But how can I detect the last line in my l

相关标签:
回答
  • 消灭零回复
提交回复
热议问题