I'm not sure this is the best way to do it when you use UDP but sprintf works in all cases.
Below is a sketch that concatenates a string "=" a value.
void setup() {
Serial.begin(115200);
}
void loop() {
char myConcatenation[80];
char myCharArray[16]="A variable name";
int myInt=5;
sprintf(myConcatenation,"%s = %i",myCharArray,myInt);
Serial.println(myConcatenation);
delay(100);
}
look at this link for more info on sprintf http://www.cplusplus.com/reference/clibrary/cstdio/sprintf/
I hope this helps
Best regards
Jantje