3 Replies Latest reply: Mar 25, 2007 1:50 PM by 807599 RSS

    compairing a string to multiple strings

    807599
      This is what I need to accomplish in seudocode

      if (string != "this" or "that" or "this" or "that")
      {
      }

      Id do it with 12 different or statements
      if(string != "this" || string != "that" || ...etc){}
      but Im wondering if there is a cleaner way to go about this.