please edit your post, select the code part and press the </> icon in the tool bar to mark it as code. It's barely readable as it stands. (also make sure you indented the code in the IDE before copying, that's done by pressing ctrlT on a PC or cmdT on a Mac)
And do yourself a favour and please read How to get the best out of this forum and modify your post accordingly (including code tags and necessary documentation for your ask).
Being inspired by your post #2, I am applying for the first time, the sizeof operator on a String type string-object ("Arduino"), and I have got a value 6. What does this 6 mean?
when I see (poorly indented) code like this to deal with an asynchronous input, I know it will fail at one point... the MCU will empty the Serial buffer faster than data is coming in and you can't be sure you've received the full message... (esp. as you set received to true after the first byte)