Using C#, how do I split a string so I can access words as keyword
For example, take the string "Shut down problem in windows 8". How can I split the string by a space and access the words as keyword which should return "Shut","down","problem","in","windows","8".
Please help me!
Thanks
string[] keywords = txtValue.Text.Trim().Split(new string[] { " " },StringSplitOptions.RemoveEmptyEntries);