How to read only the first line of a file

前端 未结 0 1027
执笔经年
执笔经年 2021-02-11 17:07

I\'ve been googling for a while, but I cannot find a function the read just first line of a file.

I need to read first line of a text file and extract the date from it.<

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