The first thing that String.equals() does is to see if the two strings are == and return true if so. So why not just use .equals()? The cost of the extra method call will certainly be lost in the noise. Alex