How to match keywords one var with var

Hi Some time I got status as mention in attachment

status Open and some time Open Rec.I just want if status is open Rec then it consider status as Open.As mention in what happened from database I got from database value Open in variable CheckStatus as mention in attachment and from website some time I got Open and some time Open Rec.So my condition fail I want Open Rec consider as Open.So my condition become true.

Hi @Aditya10989,

Check your logic like this
Var = “Open Rec”
Var1 = “Open”

If Var.Contains(Var1)