Convert int to binary Array

Okay, everything works properly. the next problem is to get the command over I2C from the master.

void receiveEvent(int howmany){
string receivestr = wire.receive() //Whole String 
byte comand =bitRead(colcount, 0);
if (comand = 0){
//cut off the comand number and do this
}
else if (comand = 1){
//cut off the comand number and do this
}

}

Just my way of thoughts
So,

  1. how do I receive the whole data. Which is the best type to put it in? I guess its not String.
  2. How do I cut off the first value ( just 0 to 9) of the received data?