String first="000100000001111111";

int first_len = first.length();

if (first_len < 32)
{
extra_len = 32 - first_len;
StringBuffer first_exBit = new StringBuffer();

for (i=0; i< extra_len; i++){
first_exBit =first_exBit.append ("0");
//System.out.println("first_exBit value : "+first_exBit);
}
first_value = first_exBit+first;

System.out.println("first_exBit value1 :"+first_value);
}

------------------------------

the problem that i have is, i want to put the string value into an array and do some data manupulation.

thanks