I have a variable that contains text from a textbox.
a = textBox1.Text;9 Then there is a small method that counts the number of letters in a string and displays this value in label1
Console.Write(a.Length); label1.Text = Convert.ToString(a.Length); I need this program: 1. I did not count all the letters in the string, but counted them up to a space. 2. Saved the result before the space and after it in different variables.
Please help me at least point 1, but with the possibility of further upgrade to point 2