PDF Reader


#1

Hello friend…

Again one problem occurring in front of me…

this is my data


i want to save the data in a string variable from each line…
how new line can be point during saving the data into variable


#2

@bitubawankar,
text.Split(Environment.NewLine.ToArray, StringSplitOptions.RemoveEmptyEntries)
Use for each and assign each line to a variable
Thanks,
Sreekanth.k


#3

Split the string by using text.Split(Environment.NewLine, StringSplitOptions.RemoveEmptyEntries) and convert to list or array

Loop the list or array

Using index of a particular words . We can get the values


#4

Please go through link below, you’ll get better clarity :slight_smile:

https://msdn.microsoft.com/en-us/library/system.environment.newline(v=vs.110).aspx