如何找到包含在单个 .txt 文件中的唯一字符串,每行中都有不同的字符串?
示例:.txt 文件包含以下内容
012345
023456
034567
045678
056789
然后我想找到一组数字中的一个。
这就是我想要发生的事情~
Dim stN As String = TextBox1.Text
If stN.contains(.txt file) Then
'Anything to do here
Else
MsgBox("Your input number is incorrect", "ERROR")
End If