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 :
string data = TextBox1.Text; var s1 = data.Split(); string a = s1[0].ToString(); string b= s1[1].ToString();