Hi Tim, I'd suggest looking at the parsing logic in the Calculate activity -- it deals with the same problems. - Chris. -- Chris Ball <cjb at laptop.org> One Laptop Per Child