From the Java String class descriptions of the 'equals()' method at Java String Class:
Bottom line: Don't use something like (c =="a") to compare one String to another. Use c.equals("a")
...
Type: Posts; User: Zaphod_b
From the Java String class descriptions of the 'equals()' method at Java String Class:
Bottom line: Don't use something like (c =="a") to compare one String to another. Use c.equals("a")
...