The StringTokenizer nextToken() method returns a String so you would use the String equals( String ) method. NOTE: Not the == object identity method. See the java.util.StringTokenizer javadocs.
Bill
Don't get me started about those stupid light bulbs.