title: How do I concisely check whether a string equals any of several values?
body: <p>I currently have one record (with various values) and three user constants with specific assigned values (e.g. names, etc.).</p>
  
  <p>I can compare an edit box against one user like this:</p>
  
  <pre><code>if edit1.text = user1 
   then xxxx
  </code></pre>
  
  <p>This is all well, but how do I specify that the edit box must check between the three different users?</p>
  
  <p>Example:</p>
  
  <pre><code>if edit1.text = user1 to user3
   then xxxx
  </code></pre>
  
  <p>How Do I go about doing this?</p>