Thank you for your post.
I have a list of string pairs. I use the first string
(in the pair) to find the second string. The second
string is in fact the value of the first string. If I use
an array, it will be very slow to find the value of a
given string. So, I am trying to use hash function to find
the value of a given string variable.
-----Original Message-----
"Frank King" <fr********@hotmail.com> scripsit: I am looking for a hash function to map string to string
in VB. Could somebody give me some informtion?
You can use the 'String.GetHashCode' function to get a
hash for astring's. Maybe you should provide more information on
what you want todo with the hash...
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
.