This discussion is archived
6 Replies Latest reply: Mar 7, 2008 3:39 AM by 807591 RSS

Generate an unique number from String

807591 Newbie
Currently Being Moderated
I was looking for a function to get an unique number for a given string (should be a database ID).
The hashCode() function isn't useful because can return the same code for 2 different strings.