title: Ensuring two string are not equal and ignoring case
body: <p>I'm trying to two strings, to ensure that they are different.
  How should i go about writing the syntax?</p>
  
  <p>I getting this error consistently
  error:  expected
              while(input.!equalsIgnoreCase("W"))</p>
  
  <pre><code>Scanner scan = new Scanner(System.in):
  
  while((hX != eX &amp;&amp; hY != eY) || mX != hX &amp;&amp; mY != hY)
          {
              System.out.println("Move WASD: ");
              String input = scn.nextLine();
  
               while(!(input.equalsIgnoreCase("W")) &amp;&amp; input.!equalsIgnoreCase("A") &amp;&amp; input.!equalsIgnoreCase("S") &amp;&amp; input.!equalsIgnoreCase("D"))
              {
                  //Do something
              }
  </code></pre>