Hi friends,
i have a text file and i want to read each line and parse the word and put it in to variable field
but when "while looping process" i want to read next line for condition.
i want to put variable Add1, Add2, Add3, Reg.No, Name2.
Problem is that when i ReadLine contain "Address" then i parse Add1 but Add2, Add3 is optional so i want to know when ReadLine read the current line that time Nextline contain "[" this sign or not if "NO" then it will put in Add2, if "YES" then don't go to Add2 and Add3
For more detail i also attached Sample text file and also put the code which i done
Bookmarks