Strings that always stay empty I wrote an app that listens on the network for command over UDP and sends back an answer. Whatever I try to put into my answer never get sent. The string is always empty. The following code prints a length of 0:

String result;
for(uint8_t i =0; i &lt;6; i++)
{
    result.concat( GetInput(i));
    if(i &lt; 5)
       result.concat(':');
}
    result = "WTF???";
    Serial.print("GetAllOutput =&gt; ");
    Serial.println(result.length());
    return result;


I've been trying to debug and I can't figure what is going on. Initializing result to "" doesn't change anything.
So euhmm, I removed a couple of Serial.print() frome my code and now everything is working. Still I have no clue to what happened, but it works now...