I am trying to compare a string to see if it contains a curse word. I assumed that I could do this using str.Contains("" || "") although I quickly realized I cannot use || with two strings. What would I use in place of this?
str.Contains("123" || "abc");
I expected it to see if it contains 123 or abc but the code segment does not work as it cannot compare two strings.