Compare two characters in one expression

I want to compare a character variable to another character in one boolean expression. So far I have done

Char1 Is ‘)’
Char1 = ‘)’

but the activity still says “Expression expected”. How do I do this?

You can use the expression like this
Char1 == ")"

Tried that but it still says expression expected… using it as the condition in If Activity

@DEATHFISH

Try this expression

Char1.Equals("("c)