Update StringMethods.java