recursive function

excellent2002 excellent2002@etang.com
Thu, 11 Apr 2002 08:39:27 +0800 (CST)


Hi,I want to write a recursive function to change list as this form ["whantever","\n","it is","\n","I","don;t","care"] to ["whatever","it is","I \n don't \n care"], but I failed to work it out. Anybody can help me ? Thank you very much

If there is no "\n",between the strings, add "\n" beteen them and merge these string.


Regards


Alan







-----------------------------------------
亿唐生活品牌第一主打
http://bag.etang.com/payment_1.htm
亿唐短信,您贴身的时尚顾问
http://sms.etang.com
每天让你轻松记单词
http://www.etang.com/texthanburg/index.htm
美国大学之门为你而开 百分百拿奖学金
http://campus.etang.com/html/academic/usa/scho/scho017.htm