Serial with strings and char

You can't compare strings like that but you can use the strcmp() function

if (strcmp(receivedChars, "my string of text") == 0)