I have a column in which O2 exist and I want to check"Does (CR) or (FF) exist above the O2 or not??".
I save that whole column value in a variable and used if condition.
Ex- [if (variable.contains(“CR”)or variable.contains(“FF”).
or [if (variable.equals(“CR”) or variable.contains(“FF”).
I only want, bot should find only individual CR or individual FF.
but bot is not working correct.when there is a value like (MWCR or MWFF) above the O2.It gives yes CR or FF exist.
But I want only “CR” or “FF”.
Can anyone please help that what type of condition should I use??
because both , contains and equals does not work here.
For reference I am sharing the snapshot of that column.