The if statement is executed allright it's just that it always will evaluate as false.
What you are doing is comparing two objects and check if they reference the same object and they don't.
Change the if statement to this:
Good luck!Code:if(c_code.substring(0,6).equals("money="))




Reply With Quote