I have searched Apple's developer website from hither to yon, and I cannot find anything that appears to answer this question. The NSFileHandle and NSFileManager APIs seem to deal only in entire files, not parts of files... I need to read a bunch of data in from a text file. The data is in the form int string string int,int,int,int,int,int,int,int,int,int How can I read the data into 13 different variables? I.e., my first variable is partID and I need it be the first 'int' shown above. Second variable is partName and I need it to be the first 'string' shown above, which is the second line of data. Etc. In pseudocode I would say, "While not an end-of-line character, read data into the variable partID. When the end-of-line character is reached, break the loop and continue." Then lather, rinse and repeat until I've got all 13 variables set. Also - the 10 int on the same line - how do I read those into separate variables? Am I going to be better off putting each int on its own line? Thanks in advance.