Geoff, What you really want is string evaluation. Look at ".irp" and see if that does what you want. T.