Why do you think it works better? class text is the same as class string. Anything of of class text will be of class string. And that is stinky syntax, using both an 'or' and an 'is in'. Even if it were necessary, which it isn't, the better way to do it would be:
if {class of x} is in {string, text, Unicode text} then
But it's not necessary.
Whoops, didn’t mean to imply that it was better then what you had, Paul. I meant it was better then what “I” had. I had a typo in my local version.
You are right, Paul.
Thanks,
-Charlie
