hi, i am reading data in a text file
eg:
a(String)
b(String)
c(String)
i want to assign them a list and i want to process them in order. But how do I add them to the list after reading them? do you have the code?
hi, i am reading data in a text file
eg:
a(String)
b(String)
c(String)
i want to assign them a list and i want to process them in order. But how do I add them to the list after reading them? do you have the code?
in general we do:
preparing the list:
myList = new List(Of String)
then using the add to collection activity and add an item
it is is little bit unclear if a,b,c are variables. If so we can quick dirty do:
myList = {a,b,c}.toList
use this .tolist()
I couldn’t do it
read text file output: out
what will i write ?
when text file is about:
a
b
c
then you can also do (assign activity):
uplist = File.ReadAllLines(YourTextFileFullPath).toList
Check reviewed statement
Can you write the code and send it? please
sure, just share the text file with me. Thanks
variable.txt (7 Bytes)
File.ReadallLines(TxtFilePath).Tolist