I have a text file that is tab-delimited. How can I separate this string into substrings for an array by detecting the tabs?
Just use the String.Split method and split on tabs (so probably first one split on newlines to get the lines and then one on tabs to get the values).
String.Split
See here for details:
http://msdn.microsoft.com/en-us/library/system.string.split.aspx