Here is a very useful thing for small parsing jobs. There's nothing challenging about it. It's much better than strtok too. http://gcc.gnu.org/onlinedocs/libstdc++/21_strings/stringtok_h.txt Mike M.