title: Converting non-numeric String to Integer?
body: <p>How can I convert a non-numeric String to an Integer?</p>
  
  <p>I got for instance:</p>
  
  <p><code>String unique = "FUBAR";</code></p>
  
  <p>What's a good way to represent the String as an Integer with no collisions e.g. "FUBAR" should always be represented as the same number and shan't collide with any other String. For instance, <code>String a = "A";</code> should be represented as the Integer <code>1</code> and so on, but what is a method that does this (preferrably for all unicode strings, but in my case ASCII values could be sufficient). </p>