well thanks every one i found out the problem there was some how some space that got caught at the end of the input when the input stream ended so all i did is add a trim() method to the return from...
Type: Posts; User: mdstrauss
well thanks every one i found out the problem there was some how some space that got caught at the end of the input when the input stream ended so all i did is add a trim() method to the return from...
i don't think that the problem is with replacestring method because even if i change the if statement to
if (seeIf. equals(inputS)) the same output is shown ..... but here it is ...
import...
i have a console input class that works on buff = new BufferedInputStream(System.in);
it returns a string of the input ....
now when i use it the string that comes back is in some way different ....