DEVELOPMENT EDITION · 769442725406
Library Reference

Subprogram Ada.Strings.Hash_Case_Insensitive

Ada.Strings.Hash_Case_Insensitive (RM A.4.9): the hash of a string with its letters in lower case, so that strings that differ only in case have the same hash.

function Ada.Strings.Hash_Case_Insensitive (Key : String) return Ada.Containers.Hash_Type
  with Global => null,
       Post => Hash_Case_Insensitive'Result = Ada.Strings.Hash (Ada.Characters.Handling.To_Lower (Key));