Hi Ralf, That looks good , I had not thought of it. Bill >bogusCodes = ( '1.', '31', '90', 'AZ' ...... ) >... >if item in bogusCodes: > do something useful