Question: Separate a string and convert each char to integer

I am gettinga string from a textfield

In my program that String represent a set of 8 bits

ie. g(t)= 10101110

But I need to separate them like

n0=1

n1=0

n2=1

...

n7=0

 

where each n is an integer

how do I do it?

 

 

 

Please Wait...