Is there an easy to use 'or' operator for strings?

That’s pretty much it. Trying to build a chatbot and it’s going pretty well. At least pretty well for someone who has never built a chatbot.

Perhaps use a switch-case ?

The “or” operator (||) works just as well for conditions involving strings as it does for conditions involving any other type.

Can you ask a more specific question?

Thanks, solved this on my own. It’s good to have people looking out, and yeah, back around this time I didn’t really get how to use the and or operators, but I bought a big guide on c# and it went through all of that really well.

regex

oh wait you said easy… haha… at least regex ‘or’ is pretty simple… this might suit your needs.

if(Regex.IsMatch(searchString, "string1|string2|string3")
{

}

I like where you’re going with that. c# libraries are crazy vast.