I looping in text file “line by line”.
During the loop i get a part of string line and store it in My_Var (my_var is dimensioned as string).
Now, i want to save all values of my_var in an array or in a colection or in a dictionary object.
I want to use this way to controll duplicate value of my_var.
Exaple:
my_var=”sss” controll in contaier and if not is present store this svalue (in an array or in a colection or in a dictionary object)
no action
my_var=”aaa” controll in contaier and if not is present store this svalue (in an array or in a colection or in a dictionary object)
no action
my_var=”sss” no store in container becuase is alreday present in container
action msgbox(“just present”)
ecc…
…..
How to?
Suggest me via a littele code the fast way to controll my_var is just processed.