I'm sorry for not answering. I see you've gotten some help already, but I think I can still contribute a bit. :) If you want an array that holds each bit from a binary string, without trimming any leading zeroes, you could make something like this... DIM BNRY[0] FOR I=0 TO LEN(ST$)-1 PUSH BNRY,VAL(ST$[I]) NEXT Just make sure to validate that the string only contains binary digits.