A simpler approach might be to read lines (BufferedReader), check the first character, and if something that requires a more interesting parse, _then_ pass the rest of the line to a parser. -- Scott ---------------------------------------- Scott Stanchfield http://javadude.com