string comparison and string.size()