Split word.. from get text

Hi guys,

I am getting text like this image
here i want to split like this

Name
Suresh
ID
10092
Palce
Dkotta
AcNo
987654321

can any one explain this…i am using split but i am not able to find the solution.

Thanks,
Suresh.

@suresh_kumar4 I guess you need to use Replace instead of Split.

yourString = yourString.Replace(":",Environment.NewLine)

3 Likes

Thanks it works!..but now i want to split name,suresh,id,10092…as separate words…
now i am getting the whole text as string…

Please help me out

@suresh_kumar4 Do you mean you want to Assign those Values to Separate Variables ?

1 Like

yes correct…i want each word separatly…

Name–var1
suresh–var2,…

like this