【发布时间】:2011-04-06 04:53:11
【问题描述】:
大家好;
我有一个文本文件说“test.txt”,我只想对每 5 个单词进行处理。
例如,如果 test.txt 包含:
On the Insert tab the galleries include items that are designed to coordinate with the overall look of your document.
我想取前五个字:On the Insert tab the,对它们做一些功能。然后接下来的五个字galleries include items that are,do functions...等直到文件结束。
我想用 java.Any Ideas 做到这一点?
【问题讨论】:
-
到目前为止你有什么?
标签: java text-files