我有一个文本文件说“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
,做功能等等,直到文件结束。
我想用java.Any Ideas做到这一点?
你有什么这么远吗? – OscarRyz 2011-04-05 20:03:14