String comparison in java
<p>I take a string from an array that stores strings. Then I print it for check and see that is this that i want. When I compare it with the string that it suppose to be I get error.
When I print bString it is "root"!!! When I compare it is not! </p>

<pre><code>System.out.println(aString);
if (aString.equals("root")) {
  System.out.println("its ok!");
}
</code></pre>
