Hello,
Since you are actually comparing Strings you need to use the equals() method. For example; numbers.substring(1,2).equals("0").
Also, assuming that "numbers" is your input argument, that particular
string is going to only check the 2nd position of the string. For example, if numbers is equal to '10' your statement would return true. If numbers was equal to 101 it would return true as well. Is this what you intend the statement to be checking for?
Pat B.