Just for the record, thats my working code now. ![]()
void readKeyboard() {
 String request[10];
 char tmpChar;
 int wordIndex = 0;
 while(tmpChar != '\n') {
  if(Serial.available() > 0) {
   tmpChar = Serial.read();
   if(tmpChar == ' ') {
    wordIndex++;
   }
   else {
    request[wordIndex] += tmpChar;
   }
  }
 }
 if(wordIndex>0) {
  Serial.print(request[0]);
  Serial.print(request[1]);
  Serial.print(request[2]);
 }
}
thx for the help guys. ![]()