我有一个 txt 文件,其中提供了很多信息。我只想读取和存储“状态”部分。
例子:
id........username...... status......language .......image
11111 abcdefg Man Utd won for the second time ENG img1244
11112 abcdaaa Man Utd won for the third time ENG img1245
11113 abcdbbb Man Utd won for the fourth time ENG img1246
11114 abcdccc Man Utd won for the fifth time ENG img1247
11115 abcdddd Man Utd won for the sixth time ENG img1248
And what I should obtain is the following
Man Utd won for the second time
Man Utd won for the third time
Man Utd won for the fourth time
Man Utd won for the fifth time
Man Utd won for the sixth time
我想要做的是将字符串数据从用户名存储到“ENG”字符串。
谢谢你的帮助。