title: Locating one of two characters in a string using indexOf
body: <p>I have this array: </p>
  
  <pre><code>char[] signOfDecimal = {',', '.'};
  </code></pre>
  
  <p>and I'm trying to find the location of one of these 2 characters in my string:</p>
  
  <pre><code>locationOfDotInRate = myString.IndexOf(signOfDecimal[0], signOfDecimal[1]);
  </code></pre>
  
  <p>Basically I'm trying to check where one of these characters might occur in my string, but its not working. The reason I'm doing it this way is because my string sometimes contain '.' or ','.</p>