How to send temperature data from Processing to Arduino?

It may not be for you, but for someone starting out on Arduino, it is.

Really?

char stuff[] = "t87";
char cmd;

cmd = stuff[0]; // cmd is now t;
stuff[0] = ' '; // stuff is now " 87"