Serial with strings and char

UKHeliBob:
If the two strings match then strcmp() will return 0

See http://www.cplusplus.com/reference/cstring/strcmp/

thank you i really appreciate the help. can you please tell what the problem is when i run

  if (strcmp(receivedChars, "test 1") == 0) {
    Serial.println("working 1");
    newData = false;
  }

it just keeps printing "working 1" in the console?