This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
note that the method endsWith(""), takes actually an empty string, or a string that contains nothing, not a single character. and if we compare it with what the java doc say about the method endsWith(String argument)in the String class: "Note that the result will be true if the argument is the empty string or is equal to this String object as determined by the" so the answer will be true.