OK, I looked at your text file and the reason why this happens is because in this file you have both spaces and tabs separating the columns. The file that you had provided earlier had either spaces or a single tab separating columns, not both. For example, there's three characters separating columns 1 and 2: a space, a tab, and another space. So, inside the loop when converting the multiple spaces to tabs you'll get three tabs to separate columns 1 and 2, which throws off your columns. If you use the "Scan From String" function you would not be affected by this, so you really should use that. (Got the hint yet?

)
The other thing to watch for is that the initial split at the new line may create an additional array element which is an empty string if you have a blank line at the end of the file. Your sample file contained a blank line so there was an extra element in the array that's fed to the loop. I modified your VI showing you how to use the "Scan From String" function to get the values from each row as well as some code that will eliminate the last entry being blank.
Message Edited by smercurio_fc on 02-24-2006 11:14 AM