Hashing Question

CaptainKahuna

Platinum Member
May 19, 2002
2,228
0
0
www.billda.com
I need a hash code to hash VIN (Vechile Identification Numbers). VIN's come in the following form:

'9X9XX99X9XX999999' where 9 represents any digit and X represents any letter (capitals A-Z only).

Any ideas?
 

CaptainKahuna

Platinum Member
May 19, 2002
2,228
0
0
www.billda.com
Well I want one to give me indices I can use to store the VIN's in an array.

Not a sparse array, I wouldn't mind a few collisions if the array size would be smaller...