>>If I use TestVar $ VarString and in that string it has Var10, for example, I will get a hit when testing for TestVar="Var10" as well as when TestVar="Var1".
>>
>>How do I eliminate this ambiguity?
>>
>>I hope I explained that clearly enough...
>
>If you want to eliminate this problem at the source, you could rename your variables to Var01, Var02, ...
Also, if it doesn't go against OP's religion or any other conviction, they may have meaningful names.