I'm processing a string which is tab delimited. I'm accomplishing this using the split function, and it works in most situations. The problem occurs when a field is missing, so instead of getting null in that field I get the next value. I'm storing the parsed values in a string array.
String[] columnDetail = new String[11];
columnDetail = column.split("\t");
Any help would be appreciated. If possible I'd like to store the parsed strings into a string array so that I can easily access the parsed data.