I want to use the | logical operator symbol when testing the value of a string instance variable.
If var = "text1" | "text2"
However, when I try this, the expected outcome doesn't work.
I checked the documentation page and it doesn't explicitly state that you cannot use string values but only references numbers.
Am I correct that | only checks for numerical values and not string? Or is there something else I'm doing wrong?