title: How to convert a 5 bit binary string to an alphabetic character?
body: <p>If I have a 5 bit binary string such as <code>'01010'</code>, how can I convert it to its corresponding alphabetic character? </p>
  
  <p>(<code>'00000'</code>-><code>'a'</code> .. <code>'11111'</code>-><code>'F'</code>)</p>
  
  <p>I am doing this to compress a large set of boolean values to a string which can only contain the alphabetic characters [a-zA-Z].</p>