See the attached code. I wasn't sure by what you meant by a "STRING of bits" so it shows two different things.
Remember also that the distinctions between binary, decimal and hex are only significant to human beings reading the numbers--computers don't really care. An unsigned 8-bit value is an unsigned 8-bit value, regardless of how it's represented for human consumption.
Note that in a array the LSB is the first element. In a string, the LSB is the far right-hand digit.
Mike...