--- Harry Kakueki <list.push / gmail.com> wrote:

> Try this
> 
> str = "10010000"
> p str.to_i(2)
> puts
> p 255.to_s(16)
> p 255.to_s(2)
> 
> Harry

Yes, thanks a bunch.  For some reason, #to_i was the
last place I thought to look.

Todd

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com