0

The specs for "lookup" refer, for example, to "html (or any capitalization thereof)." Does this mean just "html or HTML," or does it also include all 14 possible mixed-case combinations?

1

All 16 mixed case combinations:

 1. html

 2. Html

 3. hTml

 4. HTml

 5. htMl

 6. HtMl

 7. hTMl

 8. HTMl

 9. htmL

 10. HtmL

 11. HTmL

 12. hTmL

 13. htML

 14. HtML

 15. HTML

 16. hTML

It's 24=16. Just saying. :P But yes any possible capitalization should be considered the same.

3
  • 1
    Yesss nerds for the win!
    – i_am_david
    Aug 3 '15 at 20:06
  • Actually, two are same case and 14 are mixed case. More important, thanks very much for the answer. Aug 3 '15 at 20:21
  • Just try using strcasecmp() as per the advice in the spec. I think that'll help Nov 27 '16 at 23:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .