文本文件中的字符串是这样的:
Fulton County 6
County Grand 1
Grand Jury 2
Jury said 1
said Friday 4
Friday an 1
an investigation 5
investigation of 15
of Atlanta's 1
Atlanta's recent 1
recent primary 1
primary election 2
election produced 1
produced `` 1
`` no 6
我想从中读取并重新打印到另一个文本文件中,格式如下:
Fulton County 6
County Grand 1
Grand Jury 2
Jury said 1
said Friday 4
Friday an 1
an investigation 5
investigation of 15
of Atlanta's 1
Atlanta's recent 1
recent primary 1
primary election 2
election produced 1
produced `` 1
`` no 6