I'm trying to split a string at a period character and save the two halves. I want to later evaluate the length of these, but I can't get the Split function to work at all.
I thought that this would split the two halves into an array as the help documentation said it would, but I just get the "A first chance exception of type 'System.IndexOutOfRangeException' occurred" error. This is really bugging me, as I can't even do this as the documentation tells me to do it. I try to run their example and the same thing happens.
Dim myArray() As String = Split(myString, ".", , CompareMethod.Text)