I am trying to split a string by : and a tab or three or more spaces. The attached PDF is the one I am working with form my POC. Everything seems to work until I get to test6 test7 and test8. I am trying to figure out what to use to split where the tabs are.
@LeftBrainCo - the tab character in vb.net is vbTab - “\t” is the tab character in C# only.
You can just replace the \t with vbtab and it should work fine. You will get a bunch of empty strings in your array using your split as-is though, so you might want to use StringSplitOptions.RemoveEmptyEntries or else revise which strings you are splitting on
The big issue I had is vbTab would not work. for this POC I used quad spaces to fix the problem. I agree in the actual automation I will handle clean up this was just a POC.