Hi, I am trying to load the contents of a multiline textbox into a string array and cant figure out why it is not working. I thought I would be able to use the SPLIT function like this:
Dim strarray() As String
strarray = Split(txtCourses.Text, Environment.NewLine)
But that doesn't seem to work. All of the lines of the textbox are just added to the first index of the array separated by a symbol that looks similar to this []. What am I doing wrong?
Thanks,
Bone_Jack
Dim strarray() As String
strarray = Split(txtCourses.Text, Environment.NewLine)
But that doesn't seem to work. All of the lines of the textbox are just added to the first index of the array separated by a symbol that looks similar to this []. What am I doing wrong?
Thanks,
Bone_Jack