帮助请在阅读的文本文件中 [英] Help Please in the read text file

查看:56
本文介绍了帮助请在阅读的文本文件中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

读取一个文本文件,然后提取它的单词,并将它们存储在另一个文本文件中,每个单词在单独的行中.

That read a text file and then extract it''s words and store them in another text file each words in a separates line.

推荐答案

string [] arr = s.Split(new char [] {''\ n''});

可能会解决您的查询
string[] arr = s.Split(new char[] { ''\n'' });

may be it will solve your query


这篇关于帮助请在阅读的文本文件中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆