I have a binary string and I want to split it into 31 bits array
1101000011010010010000001101101011110010010000001101110011000010110110101100101001000000110100101110011001000000110000101101110011001110110000101110100
That is just an example of a binary string but I need it to work for any binary string keeping the integrity of the binary string if I want to rejoin the array. Once the array is made append 0's to the front making sure the length of everything is 31.
Thanks