> > only from the beginning or end of the string though, not anywhere within it. > > Greg That'll teach me for not reading other people's replies before replying myself. David. -- David Goodwin [ david at codepoets dot co dot uk ] [ http://www.codepoets.co.uk ]