PDF Reader

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

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

1 Like

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

1 Like

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

1 Like