修改多行文本框中的特定行 [英] Modifying a Specific Line in a Multiline Textbox
本文介绍了修改多行文本框中的特定行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我只是想使用循环来检查多行文本框中每行的开头是否有数字,但无法弄清楚我需要使用哪种方法来执行此操作.我需要知道的是用什么来选择文本框中的一行,然后向下循环到下一行,依此类推.我认为应该是这样的:
Hello,
I simply want to want to use a loop to check the beginning of each line in a multiline textbox for a number, but cannot figure out which method I need to use to do this. All I need to know is what to use to select one line in the textbox, then loop to the next line down, etc. I thought there would be something like:
Textbox1.Line(i)
,但显然不是!
有什么想法吗?
Nathan
but obviously not!
Any ideas?
Nathan
推荐答案
亲爱的朋友,
该链接将为您工作:-
http://www.daniweb.com/software-development/vbnet/threads/142298 [ ^ ]
谢谢
Dear Friend,
This link will work for you:-
http://www.daniweb.com/software-development/vbnet/threads/142298[^]
Thanks
这篇关于修改多行文本框中的特定行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文