I have 5 lines in notepad file [file.txt]:
I want to fetch the line’s text one by one, and save it in variable.
I am using:
- Select file Activity to select the file at run time [file.txt].
- Then Assign Activity and assigning variable of String type = File.ReadAllText(selectedFile).
opList = File.ReadAllText(selectedFile)
- Then used For each loop
But no luck
Attached the file2nd-copy.xaml (8.1 KB)