> that should be endsWith(), not !endsWith() I think. Or switch the values > for ret. Boy, do I feel sheepish. Correct. -- "Ice Cream has no bones." -------------------------- Matthew Truch Department of Physics Brown University matt at truch.net http://matt.truch.net/