There's only one DEF function HI(HashIndex). K$ contains the keys. Oh, dear. More string abuse. I must be the world's foremost string abuser or something. ^_^;
Here's another example on how you can use it: String compression! I added a decompression routine using Ed's tip on array length using LEN. Thanks, Ed!
A little inaccuracy. That DIM CC[1] should be DIM CC[0]. I was unsure about whether or not I can define an array with zero length. Turns out I can. Oh, well. Learn something new everyday! :)