Splitting Strings
I'm not all that good with working with strings such as trim and split, but I need help with this
I'm wanting to split a string into 2 separate strings that is separated with a space.
Example:
123 456
I want 123 to be its own string and 456 to be its own as well.
I would think this would work, but its not :/
Pointing me in the right direction or just giving me the code is all helpful. I'm wanting to learn how to use these functions :<
I'm wanting to split a string into 2 separate strings that is separated with a space.
Example:
123 456
I want 123 to be its own string and 456 to be its own as well.
I would think this would work, but its not :/
Code:
Dim Data() As String = TextBox1.Text.Split(" ")
MessageBox.Show(Data(0))

