I am trying to split at every space " ", but it will not let me remove empty entries and then find the length, but it is treated as a syntax error.
My code:
TextBox1.Text.Split(" ", StringSplitOptions.RemoveEmptyEntries).Length
What am I doing wrong?