> I need to read a list of strings from a file[...] For those of us who are lazy and lacking in imagination, why not share a few lines of representative sample data? // m p.s. Don't use str as the name of a variable, you'll clobber the builtin str. -