Move isUpperCaseTags out of getString.