and the string.equals() function didn't work? weird.