Comparing and branching String/Text/Name variables?

Yes. Exactly right. Good job on finding the solution.