J. Scott Elblein
Well-known member
On the same source text that i am parsing, using:
Returns a different, seemingly random sized array each time its run, and can be in the thousands, and it's not actually splitting at that string, while:
Is returning the true number of Unread's, (which is 10) reliably.
I know I could just use the working one, but I'd like to understand why the .NET version is not working?
Thanks
VB.NET:
Dim strCountUnread() = wbr.DocumentText.Split(">Unread<")
Returns a different, seemingly random sized array each time its run, and can be in the thousands, and it's not actually splitting at that string, while:
VB.NET:
Dim strCountUnread() = Microsoft.VisualBasic.Split(wbr.DocumentText, ">Unread<")
Is returning the true number of Unread's, (which is 10) reliably.
I know I could just use the working one, but I'd like to understand why the .NET version is not working?
Thanks