Question: how to add some value in string?

Hello..
 i have big problem, i dont know, how to add 0 in front.
firstly, i convert decimal to binary and  then i convert to string

but, how i add some 0 in front??
for exmple below..

list:=["1000","1","1110"]

i want to look like 7 bit
["0001000","0000001","0001110"]

i dont know how to count all digit, and how to add some 0 to front , and also have 7 bit?

Please Wait...