We can check if the strings stored in variables are equal to each other as well.

The result is the same: if both variables hold the same string, the equality operator will return true.