Quote Originally Posted by LifeIsSuffering View Post
thanks, but I didn't think that work for my case.

I mean "unique", that means the resulting integer should be unique from different strings, even from different character sequence.
I know it may be impossible, since length of string is limitless, however, integer gets maximum value.
Maybe if you tell us what you're trying to really achieve by doing this, then maybe you will get other alternatives from persons here. What is your real goal here?

Regards,

Paul McKenzie