in reply to eval string possibilities
Your efficiency is improved by using the && operator. It short-circuits and returns false for the whole expression on the first mismatch. That omits many fruitless tests.
After Compline,Zaxo