I have textbox in c#, contains two or three strings with white spaces. i want to store those strings seperately.please, suggest me any code. thanx.
Try this:
string str = @"this is my string"; string[] arr = str.Split(new char[] { char.Parse(" ") });