vb 2008在外部文本文件中分割字符串? [英] vb 2008 split string in external text file?
本文介绍了vb 2008在外部文本文件中分割字符串?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个软件,我想从外部文本文件中读取字符串,但由于我是vb的新手,所以我不知道如何进行操作.我知道您可以像这样从文本框中拆分字符串:
textbox1.text.split(")
但是我该如何使用外部文本文件呢?
感谢您的帮助
解决方案
这里是一个简单的文本阅读器示例;
http://vb.net-informations.com/files/vb.net_simple_TextReader.htm [ ^ ]
hi
i have a software where i want to read a string from an external text file which i don''t have a clue of how to go about with as i am a novice to vb. i know you can split strings from a textbox like this:
textbox1.text.split(" ")
but how do i do that with an external text file?
thanks for any help
解决方案
Here is a simple text reader example;
http://vb.net-informations.com/files/vb.net_simple_TextReader.htm[^]
这篇关于vb 2008在外部文本文件中分割字符串?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文