请问这个方法怎么写啊?
我有个如下的字符串
Flanked by climate change campaigner and former US vice-president Al Gore, Mr Palmer announced his party would vote against the Government's bid to abolish the Clean Energy Finance Corporation, the Renewable Energy Target and the Climate Change Authority.
我通过一个方法想把它自动转成:
A Flanked by climate change campaigner
B and former US vice-president Al Gore, Mr
C Palmer announced his party would vote
D against the Government's bid to abolish
E the Clean Energy Finance Corporation,
F the Renewable Energy Target and the
G Climate Change Authority.
要求
1.每行长度不超过40
2.开头有按照字母顺序的排序
谢谢!
Flanked by climate change campaigner and former US vice-president Al Gore, Mr Palmer announced his party would vote against the Government's bid to abolish the Clean Energy Finance Corporation, the Renewable Energy Target and the Climate Change Authority.
我通过一个方法想把它自动转成:
A Flanked by climate change campaigner
B and former US vice-president Al Gore, Mr
C Palmer announced his party would vote
D against the Government's bid to abolish
E the Clean Energy Finance Corporation,
F the Renewable Energy Target and the
G Climate Change Authority.
要求
1.每行长度不超过40
2.开头有按照字母顺序的排序
谢谢!
...全文


Java SE
