vb.net获取txt某段字符后的字符

前端之家收集整理的这篇文章主要介绍了vb.net获取txt某段字符后的字符前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
Dim tline As String FileOpen(1,"文本.txt",OpenMode.Input) Do Until EOF(1) tline = LineInput(1) If InStr(tline,"姓名:") Then Label1.Text = (Replace(tline,"姓名:","")) Loop FileClose(1)

猜你在找的VB相关文章