uni
Aug 22, 2007Altostratus
Test for characters in a string
I want to test whether any of a set of characters exists within a string. I used the code below, but wonder if anyone can suggest a more efficient (and more elegant) method:
string match "*\[XYZ\]*" $var