I want to develop a very simple application but I'm blocked because I do not know how to start.
The idea is:
-
I have a list of authors in a TXT file
-
I introduce a text string where several authors are separated by commas in a text box
-
Then, if any author of that string matches those in the list, it will appear in another separate text box
Conceptual example:
list=" Lastname1 Firstname1 , LastName2 Firstname2, LastName3, Firstname3 "
string = Surname5 Name5, Lastname1 Firstname1 , Lastname3 Firstname3 "
Result="Surname1 Name1, Surname3 Name3"
Preview:
Imports System
Imports System.IO
Public Class Form1
Public Shared file As StreamReader = New StreamReader("C:\Users\User\Desktop\autores.txt")
Public Shared autores As String = file.ReadToEnd
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
TextBox2.Text = autores
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
End Sub
End Class