@Zath,
That was a rhetorical question, a lure, and you fell for it ! hook line and sinker!
I just thought it was an obvious over look..
Of course Thaddy is here for the rescues with a suggestion that will cure all..
btw, I used to have cat named Tabby!
Btw, isn't the CharInSet only usefull if the string are WideString and don't you need to specify that even in Delphi mode for
backwards compatibility ?