我有一個文本文件說「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