title: Bit shifting until first '1' in a bit string
body: <p>Is there a way to shift my bit string until I hit the first 1 as my least significant bit? e.g.</p>
  
  <pre><code>0001000100 right shifts twice to 0000010001
  0100001010 right shifts once to 0010000101
  0010000000 right shifts seven times to 0000000001
  </code></pre>
  
  <p>I am trying to do this with a bitwise operation.</p>