I want to take a string from a textbox (txtFrom) and save the first word and save whatever is left in another part. (the whatever is left is everything past the first space)
char[] delimiterChars = { ' ', ',' }; string text = txtString.Text; string[] words = text.Split(delimiterChars, 2); txtString1.Text = words[0].ToString(); txtString2.Text = words[1].ToString();