How to have an IF OR in android?
<pre><code>  if(word.equals(" ")){
  }
</code></pre>

<p>I have this IF statment, what i would like it to also do is the following..</p>

<pre><code> if(word.equals(" ") OR word.equals(".") ){
  }
</code></pre>

<p>I know the above code will not work, but im looking how to implement something like that? Anyone know how to do an if or, or do i have to use else if?</p>
